Packages

abstract class EnumerationCodec[A] extends Codec[A]

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

Instance Constructors

  1. new EnumerationCodec()

Abstract Value Members

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

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 asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def at(field: String): Decoder[A]
    Definition Classes
    Decoder
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. final def contramap[B](f: (B) ⇒ A): Encoder[B]
    Definition Classes
    Encoder
  8. def decodeAccumulating(c: HCursor): AccumulatingResult[A]
    Definition Classes
    Decoder
  9. final def decodeJson(j: Json): Result[A]
    Definition Classes
    Decoder
  10. final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]
    Definition Classes
    Decoder
  11. final def emap[B](f: (A) ⇒ Either[String, B]): Decoder[B]
    Definition Classes
    Decoder
  12. final def emapTry[B](f: (A) ⇒ Try[B]): Decoder[B]
    Definition Classes
    Decoder
  13. final def ensure(errors: (A) ⇒ List[String]): Decoder[A]
    Definition Classes
    Decoder
  14. final def ensure(pred: (A) ⇒ Boolean, message: ⇒ String): Decoder[A]
    Definition Classes
    Decoder
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. final def flatMap[B](f: (A) ⇒ Decoder[B]): Decoder[B]
    Definition Classes
    Decoder
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def handleErrorWith(f: (DecodingFailure) ⇒ Decoder[A]): Decoder[A]
    Definition Classes
    Decoder
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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() @HotSpotIntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  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): AccumulatingResult[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(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def withErrorMessage(message: String): Decoder[A]
    Definition Classes
    Decoder

Deprecated Value Members

  1. final def accumulating(c: HCursor): AccumulatingResult[A]
    Definition Classes
    Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use decodeAccumulating

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Codec[A]

Inherited from Encoder[A]

Inherited from Decoder[A]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped