CirceCursor

case class CirceCursor(context: Context, focus: Json, parent: Option[Cursor], env: Env) extends Cursor
trait Serializable
trait Product
trait Equals
trait Cursor
class Object
trait Matchable
class Any

Value members

Inherited methods

def as[T : ClassTag]: Result[T]

Yield the value at this Cursor as a value of type T if possible, an error or the left hand side otherwise.

Yield the value at this Cursor as a value of type T if possible, an error or the left hand side otherwise.

Inherited from:
Cursor
Source:
cursor.scala
final def asList: Result[List[Cursor]]

Yield a list of Cursors corresponding to the elements of the value at this Cursor if it is of a list type, or an error or the left hand side otherwise.

Yield a list of Cursors corresponding to the elements of the value at this Cursor if it is of a list type, or an error or the left hand side otherwise.

Inherited from:
Cursor
Source:
cursor.scala
def env[T : ClassTag](nme: String): Option[T]

Yields the value of the supplied environment key, if any.

Yields the value of the supplied environment key, if any.

Inherited from:
Cursor
Source:
cursor.scala
Inherited from:
Cursor
Source:
cursor.scala
def envR[T : TypeName](nme: String): Result[T]

Yields the value of the supplied environment key, if any, or an error if none.

Yields the value of the supplied environment key, if any, or an error if none.

Inherited from:
Cursor
Source:
cursor.scala
def fieldAs[T : ClassTag](fieldName: String): Result[T]

Yield the value of the field fieldName of this Cursor as a value of type T if possible, an error or the left hand side otherwise.

Yield the value of the field fieldName of this Cursor as a value of type T if possible, an error or the left hand side otherwise.

Inherited from:
Cursor
Source:
cursor.scala

Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path. If the field at the end of the path is a list then yield the concatenation of the lists of cursors corresponding to the field elements.

Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path. If the field at the end of the path is a list then yield the concatenation of the lists of cursors corresponding to the field elements.

Inherited from:
Cursor
Source:
cursor.scala

Yields the cumulative environment defined at this Cursor.

Yields the cumulative environment defined at this Cursor.

Inherited from:
Cursor
Source:
cursor.scala

Does the value at this Cursor generate a list along the path fns?

Does the value at this Cursor generate a list along the path fns?

true if fns is a valid path from the value at this Cursor and passes through at least one field with a list type.

Inherited from:
Cursor
Source:
cursor.scala

Does the value at this Cursor have a field identified by the path fns?

Does the value at this Cursor have a field identified by the path fns?

Inherited from:
Cursor
Source:
cursor.scala

True if this cursor is nullable and null, false otherwise.

True if this cursor is nullable and null, false otherwise.

Inherited from:
Cursor
Source:
cursor.scala

Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path.

Yield a list of Cursors corresponding to the values generated by following the path fns from the value at this Cursor, or an error on the left hand side if there is no such path.

Inherited from:
Cursor
Source:
cursor.scala
def nullableField(fieldName: String): Result[Cursor]

Yield a Cursor corresponding to the value of the possibly nullable field fieldName of the value at this Cursor, or an error on the left hand side if there is no such field.

Yield a Cursor corresponding to the value of the possibly nullable field fieldName of the value at this Cursor, or an error on the left hand side if there is no such field.

Inherited from:
catsSyntaxIorId[Type[Problem]](es).leftIor[Nothing] caseIor.Both(es,_)=> catsSyntaxIorId[Type[Problem]](`es₂`).leftIor[Nothing] }elseCursor.this.field(fieldName,None)">Cursor
Source:
cursor.scala

Does the possibly nullable value at this Cursor have a field named fieldName?

Does the possibly nullable value at this Cursor have a field named fieldName?

Inherited from:
Cursor
Source:
cursor.scala

Yield a Cursor corresponding to the value of the field identified by path fns starting from the value at this Cursor, or an error on the left hand side if there is no such field.

Yield a Cursor corresponding to the value of the field identified by path fns starting from the value at this Cursor, or an error on the left hand side if there is no such field.

Inherited from:
Cursor
Source:
cursor.scala

The selection path from the root

The selection path from the root

Inherited from:
Cursor
Source:
cursor.scala
Inherited from:
Product

The selection path from the root modified by query aliases.

The selection path from the root modified by query aliases.

Inherited from:
Cursor
Source:
cursor.scala
def tpe: Type

The GraphQL type of the value at the position represented by this Cursor.

The GraphQL type of the value at the position represented by this Cursor.

Inherited from:
Cursor
Source:
cursor.scala