Decoder

object Decoder
Companion:
class
Source:
Decoder.scala
class Object
trait Matchable
class Any
Decoder.type

Value members

Concrete methods

def apply[T, R](implicit d: Decoder[T, R]): Decoder[T, R]
def const[T, R](r: R): Decoder[T, R]
def failed[T, R](msg: String): Decoder[T, R]

Implicits

Implicits

implicit def arrDecoder[T, A](implicit r: Reader[T], dec: Decoder[T, A]): Decoder[T, Seq[A]]
implicit def booleanDecoder[T](implicit r: Reader[T]): Decoder[T, Boolean]
implicit def doubleDecoder[T](implicit r: Reader[T]): Decoder[T, Double]
implicit def intDecoder[T](implicit r: Reader[T]): Decoder[T, Int]
implicit def longDecoder[T](implicit r: Reader[T]): Decoder[T, Long]
implicit def mapDecoder[T, A](implicit r: Reader[T], dec: Decoder[T, A]): Decoder[T, Map[String, A]]
implicit def stringDecoder[T](implicit r: Reader[T]): Decoder[T, String]