EvoCodec

trait EvoCodec[A] extends EvoEncoder[A] with EvoDecoder[A] with Codec[A]
Companion:
object
trait Codec[A]
trait EvoDecoder[A]
trait Decoder[A]
trait EvoEncoder[A]
trait Encoder[A]
trait Serializable
class Object
trait Matchable
class Any
class EvoCodecImpl[A]

Value members

Inherited methods

def apply(a: A): Json
Inherited from:
Encoder
def apply(c: HCursor): Result[A]
Inherited from:
Decoder
final def at(field: String): Decoder[A]
Inherited from:
Decoder
final def contramap[B](f: B => A): Encoder[B]
Inherited from:
Encoder
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
def iemap[B](f: A => Either[String, B])(g: B => A): Codec[B]
Inherited from:
Codec
def iemapTry[B](f: A => Try[B])(g: B => A): Codec[B]
Inherited from:
Codec
final def kleisli: Kleisli[Result, HCursor, A]
Inherited from:
Decoder
final def map[B](f: A => B): Decoder[B]
Inherited from:
Decoder
final def mapJson(f: Json => Json): Encoder[A]
Inherited from:
Encoder
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