Class/Object

io.circe.generic.codec

ReprAsObjectCodec

Related Docs: object ReprAsObjectCodec | package codec

Permalink

abstract class ReprAsObjectCodec[A] extends AsObject[A]

A codec for a generic representation of a case class or ADT.

Note that users typically will not work with instances of this class.

Linear Supertypes
AsObject[A], AsObject[A], AsRoot[A], AsRoot[A], Codec[A], Encoder[A], Decoder[A], Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReprAsObjectCodec
  2. AsObject
  3. AsObject
  4. AsRoot
  5. AsRoot
  6. Codec
  7. Encoder
  8. Decoder
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReprAsObjectCodec()

    Permalink

Abstract Value Members

  1. abstract def apply(c: HCursor): Result[A]

    Permalink
    Definition Classes
    Decoder
  2. abstract def encodeObject(a: A): JsonObject

    Permalink
    Definition Classes
    AsObject

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def apply(a: A): Json

    Permalink
    Definition Classes
    AsObject → Encoder
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def contramap[B](f: (B) ⇒ A): Encoder[B]

    Permalink
    Definition Classes
    Encoder
  8. final def contramapObject[B](f: (B) ⇒ A): AsObject[B]

    Permalink
    Definition Classes
    AsObject
  9. def decodeAccumulating(c: HCursor): AccumulatingResult[A]

    Permalink
    Definition Classes
    Decoder
  10. final def decodeJson(j: Json): Result[A]

    Permalink
    Definition Classes
    Decoder
  11. final def either[B](decodeB: Decoder[B]): Decoder[Either[A, B]]

    Permalink
    Definition Classes
    Decoder
  12. final def emap[B](f: (A) ⇒ Either[String, B]): Decoder[B]

    Permalink
    Definition Classes
    Decoder
  13. final def emapTry[B](f: (A) ⇒ Try[B]): Decoder[B]

    Permalink
    Definition Classes
    Decoder
  14. final def ensure(errors: (A) ⇒ List[String]): Decoder[A]

    Permalink
    Definition Classes
    Decoder
  15. final def ensure(pred: (A) ⇒ Boolean, message: ⇒ String): Decoder[A]

    Permalink
    Definition Classes
    Decoder
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def flatMap[B](f: (A) ⇒ Decoder[B]): Decoder[B]

    Permalink
    Definition Classes
    Decoder
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def handleErrorWith(f: (DecodingFailure) ⇒ Decoder[A]): Decoder[A]

    Permalink
    Definition Classes
    Decoder
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def kleisli: Kleisli[Result, HCursor, A]

    Permalink
    Definition Classes
    Decoder
  25. final def map[B](f: (A) ⇒ B): Decoder[B]

    Permalink
    Definition Classes
    Decoder
  26. final def mapJson(f: (Json) ⇒ Json): Encoder[A]

    Permalink
    Definition Classes
    Encoder
  27. final def mapJsonObject(f: (JsonObject) ⇒ JsonObject): AsObject[A]

    Permalink
    Definition Classes
    AsObject
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def or[AA >: A](d: ⇒ Decoder[AA]): Decoder[AA]

    Permalink
    Definition Classes
    Decoder
  32. final def prepare(f: (ACursor) ⇒ ACursor): Decoder[A]

    Permalink
    Definition Classes
    Decoder
  33. final def product[B](fb: Decoder[B]): Decoder[(A, B)]

    Permalink
    Definition Classes
    Decoder
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def tryDecode(c: ACursor): Result[A]

    Permalink
    Definition Classes
    Decoder
  37. def tryDecodeAccumulating(c: ACursor): AccumulatingResult[A]

    Permalink
    Definition Classes
    Decoder
  38. final def validate(pred: (HCursor) ⇒ Boolean, message: ⇒ String): Decoder[A]

    Permalink
    Definition Classes
    Decoder
  39. final def validate(errors: (HCursor) ⇒ List[String]): Decoder[A]

    Permalink
    Definition Classes
    Decoder
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def withErrorMessage(message: String): Decoder[A]

    Permalink
    Definition Classes
    Decoder

Deprecated Value Members

  1. final def accumulating(c: HCursor): AccumulatingResult[A]

    Permalink
    Definition Classes
    Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use decodeAccumulating

Inherited from AsObject[A]

Inherited from AsObject[A]

Inherited from AsRoot[A]

Inherited from AsRoot[A]

Inherited from Codec[A]

Inherited from Encoder[A]

Inherited from Decoder[A]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped