kantan.codecs.Decoder
See theDecoder companion trait
object Decoder
Attributes
Members list
Value members
Concrete methods
Creates a new decoder using all specified values.
Creates a new decoder using all specified values.
The generated decoder will try each of the specified decoders in turn, and return either the first success or, if none is found, the last failure.
Attributes
Implicits
Implicits
implicit def decoderFromExported[E, D, F, T](implicit da: DerivedDecoder[E, D, F, T]): Decoder[E, D, F, T]
implicit def eitherDecoder[E, D1, D2, F, T](implicit d1: Decoder[E, D1, F, T], d2: Decoder[E, D2, F, T]): Decoder[E, Either[D1, D2], F, T]
In this article