trait DecodeJson[A] extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecodeJson
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def decode(c: HCursor): DecodeResult[A]

    Decode the given hcursor.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &&&[B](x: DecodeJson[B]): DecodeJson[(A, B)]

    Combine two decoders.

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def apply(c: HCursor): DecodeResult[A]

    Decode the given hcursor.

    Decode the given hcursor. Alias for decode.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def decodeJson(j: Json): DecodeResult[A]

    Decode the given json.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flatMap[B](f: (A) ⇒ DecodeJson[B]): DecodeJson[B]

    Monad.

  13. def flatMapCursor(f: (HCursor) ⇒ DecodeResult[HCursor]): DecodeJson[A]

    Transform the incoming HCursor to produce another DecodeJson instance.

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def map[B](f: (A) ⇒ B): DecodeJson[B]

    Covariant functor.

  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def product[B](x: DecodeJson[B]): (HCursor, HCursor) ⇒ DecodeResult[(A, B)]

    Run two decoders.

  22. def setName(n: String): DecodeJson[A]

    Build a new DecodeJson codec with the specified name.

  23. def split[B](x: DecodeJson[B]): (Either[HCursor, HCursor]) ⇒ DecodeResult[Either[A, B]]

    Run one or another decoder.

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def tryDecode(c: ACursor): DecodeResult[A]

    Decode the given acursor.

  27. def validate(f: (HCursor) ⇒ Boolean, message: ⇒ String): DecodeJson[A]

    Build a new DecodeJson codec with the specified precondition that f(c) == true.

  28. def validateFields(n: Int): DecodeJson[A]

    Build a new DecodeJson codec with the precondition that the cursor focus is object with exactly n field.

  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def widen[AA]()(implicit ev: <:<[A, AA]): DecodeJson[AA]

    Widen A into AA.

  33. def |||[B, AA](x: ⇒ DecodeJson[B])(implicit evA: <:<[A, AA], evB: <:<[B, AA]): DecodeJson[AA]

    Choose the first succeeding decoder.

Inherited from AnyRef

Inherited from Any

Ungrouped