argonaut

DecodeJson

trait DecodeJson[A] extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DecodeJson
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def &&&[B](x: DecodeJson[B]): DecodeJson[(A, B)]

    Combine two decoders.

  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def apply(c: HCursor): DecodeResult[A]

    Decode the given hcursor.

    Decode the given hcursor. Alias for decode.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def decode(c: HCursor): DecodeResult[A]

    Decode the given hcursor.

  11. def decodeJson(j: Json): DecodeResult[A]

    Decode the given json.

  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Monad.

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. def kleisli: Kleisli[DecodeResult, HCursor, A]

    Isomorphism to kleisli.

  20. def map[B](f: (A) ⇒ B): DecodeJson[B]

    Covariant functor.

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def product[B](x: DecodeJson[B]): (HCursor, HCursor) ⇒ DecodeResult[(A, B)]

    Run two decoders.

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

    Build a new DecodeJson codec with the specified name.

  26. def split[B](x: DecodeJson[B]): (\/[HCursor, HCursor]) ⇒ DecodeResult[\/[A, B]]

    Run one or another decoder.

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def tryDecode(c: ACursor): DecodeResult[A]

    Decode the given acursor.

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

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

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

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

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def |||[AA >: A](x: ⇒ DecodeJson[AA]): DecodeJson[AA]

    Choose the first succeeding decoder.

Inherited from AnyRef

Inherited from Any

Ungrouped