e.scala.codec

package e.scala.codec

Members list

Type members

Classlikes

trait Codec[S, T] extends Decoder[T, S], 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

Type parameters

S

Type of source

T

Type of target

Attributes

Companion
object
Supertypes
trait Encoder[S, T]
trait Decoder[T, S]
class Object
trait Matchable
class Any
object Codec

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Codec.type
trait CodecFor[T, DE[_], EN[_]]

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

Type parameters

DE

Decoder type

EN

Encoder type

T

Target type

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Decoder[-I, +O]

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

Type parameters

I

Type of input

O

Type of output

Attributes

See also
Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Codec[S, T]
object Decoder

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Decoder.type
trait Encoder[-I, +O]

Typeclass defining how to encode an input value to an output value

Typeclass defining how to encode an input value to an output value

Type parameters

I

Type of input

O

Type of output

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Codec[S, T]
object Encoder

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Encoder.type