Trait/Object

argonaut

DecodeJson

Related Docs: object DecodeJson | package argonaut

Permalink

trait DecodeJson[A] extends AnyRef

Source
DecodeJson.scala
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]

    Permalink

    Decode the given hcursor.

Concrete Value Members

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

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

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

    Permalink

    Combine two decoders.

  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def apply(c: HCursor): DecodeResult[A]

    Permalink

    Decode the given hcursor.

    Decode the given hcursor. Alias for decode.

  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def decodeJson(j: Json): DecodeResult[A]

    Permalink

    Decode the given json.

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

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

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

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

    Permalink

    Monad.

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

    Permalink

    Transform the incoming HCursor to produce another DecodeJson instance.

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

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

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

    Permalink
    Definition Classes
    Any
  17. def map[B](f: (A) ⇒ B): DecodeJson[B]

    Permalink

    Covariant functor.

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

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

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

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

    Permalink

    Run two decoders.

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

    Permalink

    Build a new DecodeJson codec with the specified name.

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

    Permalink

    Run one or another decoder.

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

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

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

    Permalink

    Decode the given acursor.

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

    Permalink

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

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

    Permalink

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

  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def widen[AA]()(implicit ev: <:<[A, AA]): DecodeJson[AA]

    Permalink

    Widen A into AA.

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

    Permalink

    Choose the first succeeding decoder.

Inherited from AnyRef

Inherited from Any

Ungrouped