NewtypeDecoder

class NewtypeDecoder[A](using nt: ValueClass[A])(using enc: Decoder[Representation]) extends EvoDecoder[A]
trait EvoDecoder[A]
trait Decoder[A]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(c: HCursor): Result[A]
Definition Classes
Decoder

Inherited methods

final def at(field: String): Decoder[A]
Inherited from:
Decoder
def decodeAccumulating(c: HCursor): AccumulatingResult[A]
Inherited from:
Decoder
final def decodeJson(j: Json): Result[A]
Inherited from:
Decoder
final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
Inherited from:
Decoder
final def emap[B](f: A => Either[String, B]): Decoder[B]
Inherited from:
Decoder
final def emapTry[B](f: A => Try[B]): Decoder[B]
Inherited from:
Decoder
final def ensure(errors: A => List[String]): Decoder[A]
Inherited from:
Decoder
final def ensure(pred: A => Boolean, message: => String): Decoder[A]
Inherited from:
Decoder
final def flatMap[B](f: A => Decoder[B]): Decoder[B]
Inherited from:
Decoder
final def handleErrorWith(f: DecodingFailure => Decoder[A]): Decoder[A]
Inherited from:
Decoder
final def kleisli: Kleisli[Result, HCursor, A]
Inherited from:
Decoder
final def map[B](f: A => B): Decoder[B]
Inherited from:
Decoder
final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
Inherited from:
Decoder
final def prepare(f: ACursor => ACursor): Decoder[A]
Inherited from:
Decoder
final def product[B](fb: Decoder[B]): Decoder[(A, B)]
Inherited from:
Decoder
def tryDecode(c: ACursor): Result[A]
Inherited from:
Decoder
def tryDecodeAccumulating(c: ACursor): AccumulatingResult[A]
Inherited from:
Decoder
final def validate(pred: HCursor => Boolean, message: => String): Decoder[A]
Inherited from:
Decoder
final def validate(errors: HCursor => List[String]): Decoder[A]
Inherited from:
Decoder
final def withErrorMessage(message: String): Decoder[A]
Inherited from:
Decoder