FailedCursor
Attributes
- Source:
- FailedCursor.scala
- Graph
- Supertypes
Members list
Value members
Concrete methods
Delete the focus and move to its parent.
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 object, move to the value of the given key.
Attributes
- Source:
- FailedCursor.scala
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:
- FailedCursor.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
- Source:
- FailedCursor.scala
The current location in the document.
Indicates whether the last operation failed because the type of the focus was wrong.
Indicates whether the last operation failed because the type of the focus was wrong.
Attributes
- Source:
- FailedCursor.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
- Definition Classes
- Source:
- FailedCursor.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
- Definition Classes
- Source:
- FailedCursor.scala
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:
- FailedCursor.scala
Attributes
- Source:
- FailedCursor.scala
If the focus is an element in a JSON array, move to the left.
Indicates whether the last operation failed because of a missing field.
Indicates whether the last operation failed because of a missing field.
Attributes
- Source:
- FailedCursor.scala
If the focus is an element in a JSON array, move to the right.
Return the cursor to the root of the document.
Return the cursor to the root of the document.
Attributes
- Definition Classes
- Source:
- FailedCursor.scala
Indicate whether this cursor represents the result of a successful operation.
Indicate whether this cursor represents the result of a successful operation.
Attributes
- Source:
- FailedCursor.scala
Return the cursor as an HCursor if it was successful.
Return to the root of the document.
Move the focus to the parent.
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
.
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
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
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.
Replace the focus.