Attributes
- Companion:
- object
- Source:
- HCursor.scala
- Graph
- Supertypes
Members list
Value members
Concrete methods
If the focus is a JSON array, move to its first element.
If the focus is a JSON object, move to the value of the given key.
If the focus is a JSON array, move to the element at the given index.
If the focus is a JSON array, move to the element at the given index.
Attributes
- Source:
- HCursor.scala
Attributes
- Source:
- HCursor.scala
The current location in the document.
If the focus is a JSON object, return its field names in their original order.
If the focus is a JSON object, return its field names in their original order.
Attributes
- Source:
- HCursor.scala
Return the cursor to the root of the document.
Indicate whether this cursor represents the result of a successful operation.
Indicate whether this cursor represents the result of a successful operation.
Attributes
- Source:
- HCursor.scala
Return the cursor as an HCursor if it was successful.
Return to the root of the document.
If the focus is a JSON array, return its elements.
Modify the focus using the given function.
Modify the focus in a context using the given function.
Inherited methods
Attempt to decode the focus as an A
.
Delete the focus and move to its parent.
Indicate whether this cursor represents the result of an unsuccessful operation.
Indicate whether this cursor represents the result of an unsuccessful operation.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
If the focus is a value in a JSON object, move to a sibling with the given key.
If the focus is a value in a JSON object, move to a sibling with the given key.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
Attempt to decode the value at the given key in a JSON object as an A
.
Attempt to decode the value at the given key in a JSON object as an A
.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
Attempt to decode the value at the given key in a JSON object as an A
.
If the field k
is missing, then use the fallback
instead.
Attempt to decode the value at the given key in a JSON object as an A
.
If the field k
is missing, then use the fallback
instead.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
The operations that have been performed so far.
The operations that have been performed so far.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
If the focus is a value in a JSON array, return the key.
If the focus is a value in a JSON array, return the key.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
If the focus is a value in a JSON object, return the key.
If the focus is a value in a JSON object, return the key.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
If the focus is an element in a JSON array, move to the left.
If the focus is an element in a JSON array, move to the left.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
Creates a JavaScript-style path string, e.g. ".foo.bar[3]".
Creates a JavaScript-style path string, e.g. ".foo.bar[3]".
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
Replay history (a list of operations in reverse "chronological" order) against this cursor.
Replay history (a list of operations in reverse "chronological" order) against this cursor.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
Replay an operation against this cursor.
If the focus is an element in a JSON array, move to the right.
If the focus is an element in a JSON array, move to the right.
Attributes
- Inherited from:
- ACursor
- Source:
- ACursor.scala
Replace the focus.
Move the focus to the parent.