Class/Object

argonaut

ACursor

Related Docs: object ACursor | package argonaut

Permalink

case class ACursor(either: Either[HCursor, HCursor]) extends Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ACursor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ACursor(either: Either[HCursor, HCursor])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def --(q: Json.JsonField): ACursor

    Permalink

    Move the cursor to the given sibling field in a JSON object (alias for field).

  4. def --\(q: Json.JsonField): ACursor

    Permalink

    Move the cursor down to a JSON object at the given field (alias for downField).

  5. def -<-:(n: Int): ACursor

    Permalink

    Move the cursor left in a JSON array the given number of times.

    Move the cursor left in a JSON array the given number of times. A negative value will move the cursor right (alias for leftN).

  6. def -\(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Move the cursor down to a JSON array at the first element satisfying the given predicate (alias for downAt).

  7. def :->-(n: Int): ACursor

    Permalink

    Move the cursor right in a JSON array the given number of times.

    Move the cursor right in a JSON array the given number of times. A negative value will move the cursor left (alias for rightN).

  8. def :->?(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Move the cursor right in a JSON array until the given predicate matches the focus (alias for rightAt).

  9. def :=(j: Json): ACursor

    Permalink

    Set the focus to the given value (alias for set).

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def =\(n: Int): ACursor

    Permalink

    Move the cursor down to a JSON array at the given index (alias for downN).

  12. def >->(k: (Json) ⇒ Json): ACursor

    Permalink

    Update the focus with the given function (alias for withFocus).

  13. def ?<-:(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Move the cursor left in a JSON array until the given predicate matches the focus (alias for leftAt).

  14. def \\: ACursor

    Permalink

    Move the cursor down to a JSON array at the first element (alias for downArray).

  15. def any: HCursor

    Permalink
  16. def as[A](implicit e: DecodeJson[A]): DecodeResult[A]

    Permalink

    Attempts to decode this cursor focus value to another data type.

    Attempts to decode this cursor focus value to another data type. Alias for jdecode.

  17. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def cursor: Option[Cursor]

    Permalink
  20. def delete: ACursor

    Permalink

    Deletes the JSON value at focus and moves up to parent (alias for deleteGoParent).

  21. def deleteGoField(q: Json.JsonField): ACursor

    Permalink

    Deletes the JSON value at focus and moves to the given sibling field in a JSON object.

  22. def deleteGoFirst: ACursor

    Permalink

    Deletes the JSON value at focus and moves to the first in a JSON array.

  23. def deleteGoLast: ACursor

    Permalink

    Deletes the JSON value at focus and moves to the last in a JSON array.

  24. def deleteGoLeft: ACursor

    Permalink

    Deletes the JSON value at focus and moves to the left in a JSON array.

  25. def deleteGoParent: ACursor

    Permalink

    Deletes the JSON value at focus and moves up to parent (alias for unary_!).

  26. def deleteGoRight: ACursor

    Permalink

    Deletes the JSON value at focus and moves to the right in a JSON array.

  27. def deleteLefts: ACursor

    Permalink

    Deletes all JSON values to left of focus in a JSON array.

  28. def deleteRights: ACursor

    Permalink

    Deletes all JSON values to right of focus in a JSON array.

  29. def downArray: ACursor

    Permalink

    Move the cursor down to a JSON array at the first element (alias for \\).

  30. def downAt(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Move the cursor down to a JSON array at the first element satisfying the given predicate (alias for -\).

  31. def downField(q: Json.JsonField): ACursor

    Permalink

    Move the cursor down to a JSON object at the given field (alias for --\).

  32. def downN(n: Int): ACursor

    Permalink

    Move the cursor down to a JSON array at the given index (alias for =\).

  33. val either: Either[HCursor, HCursor]

    Permalink
  34. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. def failed: Boolean

    Permalink
  36. def failure: Option[HCursor]

    Permalink

    Get the failed hcursor if we are in an failed state.

  37. def failureFocus: Option[Json]

    Permalink

    Return the previous focus, iff we are !succeeded.

  38. def field(q: Json.JsonField): ACursor

    Permalink

    Move the cursor to the given sibling field in a JSON object (alias for --).

  39. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. def find(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Find the first element at or to the right of focus in a JSON array where the given predicate matches the focus.

  41. def first: ACursor

    Permalink

    Move the cursor to the first in a JSON array.

  42. def focus: Option[Json]

    Permalink

    Return the current focus, iff we are succeeded

  43. def get[A](name: String)(implicit e: DecodeJson[A]): DecodeResult[A]

    Permalink

    Attempts to move down onto a field name and decode the focus.

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

    Permalink
    Definition Classes
    AnyRef → Any
  45. def hcursor: Option[HCursor]

    Permalink

    Get the current hcursor if we are in an succeeded state.

    Get the current hcursor if we are in an succeeded state. Alias for success.

  46. def history: CursorHistory

    Permalink
  47. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  48. def jdecode[A](implicit e: DecodeJson[A]): DecodeResult[A]

    Permalink

    Attempts to decode this cursor focus value to another data type.

  49. def last: ACursor

    Permalink

    Move the cursor to the last in a JSON array.

  50. def left: ACursor

    Permalink

    Move the cursor left in a JSON array.

  51. def leftAt(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Move the cursor left in a JSON array until the given predicate matches the focus (alias for ?<-:).

  52. def leftN(n: Int): ACursor

    Permalink

    Move the cursor left in a JSON array the given number of times.

    Move the cursor left in a JSON array the given number of times. A negative value will move the cursor right (alias for -<-:).

  53. def lefts: Option[Json.JsonArray]

    Permalink

    Return the values left of focus in a JSON array.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  57. def reattempt: ACursor

    Permalink
  58. def right: ACursor

    Permalink

    Move the cursor right in a JSON array.

  59. def rightAt(p: (Json) ⇒ Boolean): ACursor

    Permalink

    Move the cursor right in a JSON array until the given predicate matches the focus (alias for :->?).

  60. def rightN(n: Int): ACursor

    Permalink

    Move the cursor right in a JSON array the given number of times.

    Move the cursor right in a JSON array the given number of times. A negative value will move the cursor left (alias for :->-).

  61. def rights: Option[Json.JsonArray]

    Permalink

    Return the values right of focus in a JSON array.

  62. def set(j: Json): ACursor

    Permalink

    Set the focus to the given value (alias for :=).

  63. def setLefts(x: List[Json]): ACursor

    Permalink

    Set the values to the left of focus in a JSON array.

  64. def setRights(x: List[Json]): ACursor

    Permalink

    Set the values to the right of focus in a JSON array.

  65. def succeeded: Boolean

    Permalink
  66. def success: Option[HCursor]

    Permalink

    Get the current hcursor if we are in an succeeded state.

    Get the current hcursor if we are in an succeeded state. Alias for hcursor.

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

    Permalink
    Definition Classes
    AnyRef
  68. def unary_!: ACursor

    Permalink

    Deletes the JSON value at focus and moves up to parent (alias for deleteGoParent).

  69. def unary_-: Option[Json]

    Permalink

    Unapplies the cursor to the top-level parent (alias for undo).

  70. def unary_~: ACursor

    Permalink
  71. def undo: Option[Json]

    Permalink

    Unapplies the cursor to the top-level parent (alias for unary_-).

  72. def up: ACursor

    Permalink

    Move the cursor up one step to the parent context.

  73. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. def withFocus(k: (Json) ⇒ Json): ACursor

    Permalink

    Update the focus with the given function (alias for >->).

  77. def withHCursor(f: (HCursor) ⇒ ACursor): ACursor

    Permalink
  78. def |||(c: ⇒ ACursor): ACursor

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped