Packages

c

io.circe

FailedCursor

final class FailedCursor extends ACursor

Linear Supertypes
ACursor, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FailedCursor
  2. ACursor
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FailedCursor(lastCursor: HCursor, lastOp: CursorOp)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def as[A](implicit d: Decoder[A]): Result[A]

    Attempt to decode the focus as an A.

    Attempt to decode the focus as an A.

    Definition Classes
    ACursor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def delete: ACursor

    Delete the focus and move to its parent.

    Delete the focus and move to its parent.

    Definition Classes
    FailedCursorACursor
  8. def downArray: ACursor

    If the focus is a JSON array, move to its first element.

    If the focus is a JSON array, move to its first element.

    Definition Classes
    FailedCursorACursor
  9. def downField(k: String): ACursor

    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.

    Definition Classes
    FailedCursorACursor
  10. def downN(n: Int): ACursor

    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.

    Definition Classes
    FailedCursorACursor
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. final def failed: Boolean

    Indicate whether this cursor represents the result of an unsuccessful operation.

    Indicate whether this cursor represents the result of an unsuccessful operation.

    Definition Classes
    ACursor
  14. def field(k: String): ACursor

    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.

    Definition Classes
    FailedCursorACursor
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def first: ACursor

    If the focus is an element in a JSON array, move to the first element.

    If the focus is an element in a JSON array, move to the first element.

    Definition Classes
    FailedCursorACursor
  17. def focus: Option[Json]

    The current location in the document.

    The current location in the document.

    Definition Classes
    FailedCursorACursor
  18. final def get[A](k: String)(implicit d: Decoder[A]): Result[A]

    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.

    Definition Classes
    ACursor
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getOrElse[A](k: String)(fallback: ⇒ A)(implicit d: Decoder[A]): Result[A]

    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. If the field k is missing, then use the fallback instead.

    Definition Classes
    ACursor
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  22. final def history: List[CursorOp]

    The operations that have been performed so far.

    The operations that have been performed so far.

    Definition Classes
    ACursor
  23. def incorrectFocus: Boolean

    Indicates whether the last operation failed because the type of the focus was wrong.

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def keys: Option[Iterable[String]]

    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.

    Definition Classes
    FailedCursorACursor
  26. def last: ACursor
  27. def left: ACursor

    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.

    Definition Classes
    FailedCursorACursor
  28. def leftN(n: Int): ACursor

    If the focus is an element in JSON array, move to the left the given number of times.

    If the focus is an element in JSON array, move to the left the given number of times.

    A negative value will move the cursor right.

    Definition Classes
    FailedCursorACursor
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def replay(history: List[CursorOp]): ACursor

    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.

    Definition Classes
    ACursor
  33. final def replayOne(op: CursorOp): ACursor

    Replay an operation against this cursor.

    Replay an operation against this cursor.

    Definition Classes
    ACursor
  34. def right: ACursor

    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.

    Definition Classes
    FailedCursorACursor
  35. def rightN(n: Int): ACursor

    If the focus is an element in JSON array, move to the right the given number of times.

    If the focus is an element in JSON array, move to the right the given number of times.

    A negative value will move the cursor left.

    Definition Classes
    FailedCursorACursor
  36. final def set(j: Json): ACursor

    Replace the focus.

    Replace the focus.

    Definition Classes
    ACursor
  37. def succeeded: Boolean

    Indicate whether this cursor represents the result of a successful operation.

    Indicate whether this cursor represents the result of a successful operation.

    Definition Classes
    FailedCursorACursor
  38. def success: Option[HCursor]

    Return the cursor as an HCursor if it was successful.

    Return the cursor as an HCursor if it was successful.

    Definition Classes
    FailedCursorACursor
  39. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. def top: Option[Json]

    Return to the root of the document.

    Return to the root of the document.

    Definition Classes
    FailedCursorACursor
  42. def up: ACursor

    Move the focus to the parent.

    Move the focus to the parent.

    Definition Classes
    FailedCursorACursor
  43. def values: Option[Iterable[Json]]

    If the focus is a JSON array, return its elements.

    If the focus is a JSON array, return its elements.

    Definition Classes
    FailedCursorACursor
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. def withFocus(f: (Json) ⇒ Json): ACursor

    Modify the focus using the given function.

    Modify the focus using the given function.

    Definition Classes
    FailedCursorACursor
  48. def withFocusM[F[_]](f: (Json) ⇒ F[Json])(implicit F: Applicative[F]): F[ACursor]

    Modify the focus in a context using the given function.

    Modify the focus in a context using the given function.

    Definition Classes
    FailedCursorACursor

Inherited from ACursor

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Miscellaneous utilities

Access and navigation

Modification

Object access

Array navigation

Object navigation

Decoding

Ungrouped