package codec
- Alphabetic
- Public
- Protected
Type Members
- trait Codec[S, T] extends Decoder[T, S] with Encoder[S, T]
Typeclass defining decoding and encoding together via e.scala.codec.Decoder and e.scala.codec.Encoder
Typeclass defining decoding and encoding together via e.scala.codec.Decoder and e.scala.codec.Encoder
- S
Type of source
- T
Type of target
- Annotations
- @implicitNotFound("No implicit instance is found of type e.scala.codec.Codec[${S}, ${T}]. You may try following:\n\n" +
"* Make sure an instance of correct types is in scope (missing import?)\n" +
"* Implement an implicit instance yourself\n" +
"* Ensure both e.scala.codec.Decoder[${T}, ${S}] and e.scala.codec.Encoder[${S}, ${T}] are in scope and use `Codec.of[${S}, ${T}]`")
- trait CodecFor[T, DE[_], EN[_]] extends AnyRef
Helper trait creating a e.scala.codec.Codec implementation of a third-party type
Helper trait creating a e.scala.codec.Codec implementation of a third-party type
- T
Target type
- DE
Decoder type
- EN
Encoder type
- trait Decoder[-I, +O] extends AnyRef
Typeclass defining how to decode an input value to an output value, possibly failing with E
Typeclass defining how to decode an input value to an output value, possibly failing with E
- I
Type of input
- O
Type of output
- Annotations
- @implicitNotFound("No implicit instance is found of type e.scala.codec.Decoder[${I}, ${O}]. You may try following:\n\n" +
"* Make sure an instance of correct types is in scope (missing import?)\n" +
"* Implement an implicit instance yourself") - See also
- trait Encoder[-I, +O] extends AnyRef
Typeclass defining how to encode an input value to an output value
Typeclass defining how to encode an input value to an output value
- I
Type of input
- O
Type of output
- Annotations
- @implicitNotFound("No implicit instance is found of type e.scala.codec.Encoder[${I}, ${O}]. You may try following:\n\n" +
"* Make sure an instance of correct types is in scope (missing import?)\n" +
"* Implement an implicit instance yourself")