Decoder

object Decoder extends DecoderInstances
Companion:
class
trait DecoderInstances
trait DecoderLifterInstances
trait DecoderDataInstances
class Object
trait Matchable
class Any
Decoder.type

Type members

Types

type Result[T] = ValidatedNel[DecoderFailure, T]

Value members

Concrete methods

def apply[T : Decoder]: Decoder[T]
def const[T](r: => Result[T]): Decoder[T]
def fromEither[T](f: Xml => Either[DecoderFailure, T]): Decoder[T]
def fromEither[E, T](f: Xml => Either[E, T])(implicit ctx: E <:< Throwable): Decoder[T]
def fromTry[T](f: Xml => Try[T]): Decoder[T]
def of[T](f: Result[Xml] => Result[T]): Decoder[T]
def pure[T](t: => T): Decoder[T]

Concrete fields

lazy val id: Decoder[Xml]

Implicits

Inherited implicits

implicit def codecToDecoder[T : Codec]: Decoder[T]
Inherited from:
DecoderInstances
implicit val decodeBigDecimal: Decoder[BigDecimal]
Inherited from:
DecoderDataInstances
implicit val decodeBoolean: Decoder[Boolean]
Inherited from:
DecoderDataInstances
implicit def decodeCatsNec[T : Decoder]: Decoder[Type[T]]
Inherited from:
DecoderLifterInstances
implicit def decodeCatsNel[T : Decoder]: Decoder[NonEmptyList[T]]
Inherited from:
DecoderLifterInstances
implicit def decodeCatsNes[T : Decoder]: Decoder[NonEmptySeq[T]]
Inherited from:
DecoderLifterInstances
implicit def decodeCatsNev[T : Decoder]: Decoder[NonEmptyVector[T]]
Inherited from:
DecoderLifterInstances
implicit val decodeCharArray: Decoder[Array[Char]]
Inherited from:
DecoderDataInstances
implicit val decodeDouble: Decoder[Double]
Inherited from:
DecoderDataInstances
implicit val decodeFloat: Decoder[Float]
Inherited from:
DecoderDataInstances
implicit val decodeInt: Decoder[Int]
Inherited from:
DecoderDataInstances
implicit val decodeLong: Decoder[Long]
Inherited from:
DecoderDataInstances
implicit val decodeString: Decoder[String]
Inherited from:
DecoderDataInstances
implicit val decodeUnit: Decoder[Unit]
Inherited from:
DecoderDataInstances
implicit val decodeXml: Decoder[Xml]
Inherited from:
DecoderDataInstances
implicit def decoderLiftToAlternative[F[_], T : Decoder](implicit evidence$4: Decoder[T], F: Alternative[F]): Decoder[F[T]]
Inherited from:
DecoderLifterInstances
implicit def decoderLiftToApplicativeThrow[F[_], T : Decoder](implicit evidence$3: Decoder[T], F: ApplicativeThrow[F]): Decoder[F[T]]
Inherited from:
DecoderLifterInstances
implicit def decoderLiftToSeq[F <: (Seq), T : Decoder](implicit evidence$5: Decoder[T], f: Factory[T, F[T]]): Decoder[F[T]]
Inherited from:
DecoderLifterInstances
implicit val monadErrorForDecoder: MonadError[Decoder, NonEmptyList[DecoderFailure]]
Inherited from:
DecoderInstances