Decoder

cats.xml.codec.Decoder$
See theDecoder companion trait
object Decoder

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Decoder.type

Members list

Concise view

Type members

Inherited classlikes

implicit class DecoderOps(xml: Xml)

Attributes

Inherited from:
DecoderSyntax (hidden)
Graph
Supertypes
class Object
trait Matchable
class Any

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 fromOption[T](f: Xml => Option[T]): Decoder[T]
def fromTry[T](f: Xml => Try[T]): Decoder[T]
def fromXml[T](f: Xml => Result[T]): Decoder[T]
def of[T](f: Result[Xml] => Result[T]): Decoder[T]
def oneOf[T](d: Decoder[_ <: T], d1: Decoder[_ <: T], dn: Decoder[_ <: T]*): Decoder[_ <: T]
def pure[T](t: => T): Decoder[T]

Concrete fields

lazy val id: Decoder[Xml]

Implicits

Inherited implicits

final implicit def DecoderOps(xml: Xml): DecoderOps

Attributes

Inherited from:
DecoderSyntax (hidden)
implicit def codecToDecoder[T : Codec]: Decoder[T]

Attributes

Inherited from:
DecoderInstances (hidden)
implicit val decodeBigDecimal: Decoder[BigDecimal]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeBigInt: Decoder[BigInt]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeBoolean: Decoder[Boolean]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeByte: Decoder[Byte]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit def decodeCatsNec[T : Decoder]: Decoder[Type[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit def decodeCatsNel[T : Decoder]: Decoder[NonEmptyList[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit def decodeCatsNes[T : Decoder]: Decoder[NonEmptySeq[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit def decodeCatsNev[T : Decoder]: Decoder[NonEmptyVector[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit val decodeChar: Decoder[Char]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeCharArray: Decoder[Array[Char]]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeDouble: Decoder[Double]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeFloat: Decoder[Float]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeInt: Decoder[Int]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeLong: Decoder[Long]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeString: Decoder[String]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeUnit: Decoder[Unit]

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit val decodeXml: Decoder[Xml]

Attributes

Inherited from:
DecoderDataInstances (hidden)

Attributes

Inherited from:
DecoderDataInstances (hidden)
implicit def decoderLiftToAlternative[F[_], T : Decoder](implicit evidence$4: Decoder[T], F: Alternative[F]): Decoder[F[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit def decoderLiftToApplicativeThrow[F[_], T : Decoder](implicit evidence$3: Decoder[T], F: ApplicativeThrow[F]): Decoder[F[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit def decoderLiftToSeq[F <: (Seq), T : Decoder](implicit evidence$5: Decoder[T], f: Factory[T, F[T]]): Decoder[F[T]]

Attributes

Inherited from:
DecoderLifterInstances (hidden)
implicit val monadErrorForDecoder: MonadError[Decoder, NonEmptyList[DecoderFailure]]

Attributes

Inherited from:
DecoderInstances (hidden)