trait GenCodec[T] extends AnyRef
Type class for types that can be serialized to Output (format-agnostic "output stream") and deserialized
from Input (format-agnostic "input stream"). GenCodec
is supposed to capture generic structure of serialized
objects, without being bound to particular format like JSON. The actual format is determined by implementation
of Input and Output.
There are convenient macros for automatic derivation of GenCodec instances (materialize
and materializeRecursively
).
However, GenCodec instances still need to be explicitly declared and won't be derived "automagically".
- Annotations
- @implicitNotFound( "No GenCodec found for ${T}" )
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- GenCodec
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All