trait Codec[A] extends Encoder[A] with Decoder[A]

Since

10 Jun 2019

Linear Supertypes
Decoder[A], Encoder[A], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Codec
  2. Decoder
  3. Encoder
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(c: HCursor): Result[A]
    Definition Classes
    Decoder
  2. abstract def apply(a: A): Json
    Definition Classes
    Encoder

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def accumulating: AccumulatingDecoder[A]
    Definition Classes
    Decoder
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def contramap[B](f: (B) => A): Encoder[B]
    Definition Classes
    Encoder
  8. final def decodeJson(j: Json): Result[A]
    Definition Classes
    Decoder
  9. final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
    Definition Classes
    Decoder
  10. final def emap[B](f: (A) => Either[String, B]): Decoder[B]
    Definition Classes
    Decoder
  11. final def emapTry[B](f: (A) => Try[B]): Decoder[B]
    Definition Classes
    Decoder
  12. final def ensure(errors: (A) => List[String]): Decoder[A]
    Definition Classes
    Decoder
  13. final def ensure(pred: (A) => Boolean, message: => String): Decoder[A]
    Definition Classes
    Decoder
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def flatMap[B](f: (A) => Decoder[B]): Decoder[B]
    Definition Classes
    Decoder
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def handleErrorWith(f: (DecodingFailure) => Decoder[A]): Decoder[A]
    Definition Classes
    Decoder
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def kleisli: Kleisli[Result, HCursor, A]
    Definition Classes
    Decoder
  23. final def map[B](f: (A) => B): Decoder[B]
    Definition Classes
    Decoder
  24. final def mapJson(f: (Json) => Json): Encoder[A]
    Definition Classes
    Encoder
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def or[AA >: A](d: => Decoder[AA]): Decoder[AA]
    Definition Classes
    Decoder
  29. final def prepare(f: (ACursor) => ACursor): Decoder[A]
    Definition Classes
    Decoder
  30. final def product[B](fb: Decoder[B]): Decoder[(A, B)]
    Definition Classes
    Decoder
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def tryDecode(c: ACursor): Result[A]
    Definition Classes
    Decoder
  34. def tryDecodeAccumulating(c: ACursor): Result[A]
    Definition Classes
    Decoder
  35. final def validate(pred: (HCursor) => Boolean, message: => String): Decoder[A]
    Definition Classes
    Decoder
  36. final def validate(errors: (HCursor) => List[String]): Decoder[A]
    Definition Classes
    Decoder
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. final def withErrorMessage(message: String): Decoder[A]
    Definition Classes
    Decoder

Inherited from Decoder[A]

Inherited from Encoder[A]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped