package values
- Source
- package.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- values
- EncoderInstances
- DecoderInstances
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait DecoderInstances extends AnyRef
Defines implicit
Decoder
instances for any enumeratumValueEnum
type. - trait EncoderInstances extends AnyRef
Defines implicit
Encoder
instances for any enumeratumValueEnum
type.Defines implicit
Encoder
instances for any enumeratumValueEnum
type.A peculiarity of these
Encoder
implementations is that they require an implicit parameter that they do not use: theEnum
instance. This is meant to make these instances much more restrictive, as otherwise the implicit resolution mechanism goes completely wild and takes up to 20 minutes to compile something relatively straightforward.
Value Members
- implicit def byteEnumeratumDecoder[E, D <: ByteEnumEntry, F, T](implicit arg0: ByteEnum[D], arg1: IsError[F], decoder: Decoder[E, Byte, F, T]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- implicit def byteEnumeratumEncoder[E, D <: ByteEnumEntry, T](implicit arg0: ByteEnum[D], encoder: Encoder[E, Byte, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- Annotations
- @nowarn()
- implicit def charEnumeratumDecoder[E, D <: CharEnumEntry, F, T](implicit arg0: CharEnum[D], arg1: IsError[F], decoder: Decoder[E, Char, F, T]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- implicit def charEnumeratumEncoder[E, D <: CharEnumEntry, T](implicit arg0: CharEnum[D], encoder: Encoder[E, Char, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- Annotations
- @nowarn()
- def enumeratumDecoder[V, E, D <: ValueEnumEntry[V], F, T](implicit enum: ValueEnum[V, D], decoder: Decoder[E, V, F, T], error: IsError[F]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- Annotations
- @SuppressWarnings()
- def enumeratumEncoder[V, E, D <: ValueEnumEntry[V], T](implicit encoder: Encoder[E, V, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- implicit def intEnumeratumDecoder[E, D <: IntEnumEntry, F, T](implicit arg0: IntEnum[D], arg1: IsError[F], decoder: Decoder[E, Int, F, T]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- implicit def intEnumeratumEncoder[E, D <: IntEnumEntry, T](implicit arg0: IntEnum[D], encoder: Encoder[E, Int, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- Annotations
- @nowarn()
- implicit def longEnumeratumDecoder[E, D <: LongEnumEntry, F, T](implicit arg0: LongEnum[D], arg1: IsError[F], decoder: Decoder[E, Long, F, T]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- implicit def longEnumeratumEncoder[E, D <: LongEnumEntry, T](implicit arg0: LongEnum[D], encoder: Encoder[E, Long, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- Annotations
- @nowarn()
- implicit def shortEnumeratumDecoder[E, D <: ShortEnumEntry, F, T](implicit arg0: ShortEnum[D], arg1: IsError[F], decoder: Decoder[E, Short, F, T]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- implicit def shortEnumeratumEncoder[E, D <: ShortEnumEntry, T](implicit arg0: ShortEnum[D], encoder: Encoder[E, Short, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- Annotations
- @nowarn()
- implicit def stringEnumeratumDecoder[E, D <: StringEnumEntry, F, T](implicit arg0: StringEnum[D], arg1: IsError[F], decoder: Decoder[E, String, F, T]): Decoder[E, D, F, T]
- Definition Classes
- DecoderInstances
- implicit def stringEnumeratumEncoder[E, D <: StringEnumEntry, T](implicit arg0: StringEnum[D], encoder: Encoder[E, String, T]): Encoder[E, D, T]
- Definition Classes
- EncoderInstances
- Annotations
- @nowarn()