ProtoJson

grackle.QueryInterpreter.ProtoJson
object ProtoJson

Attributes

Source
queryinterpreter.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ProtoJson.type

Members list

Value members

Concrete methods

def component[F[_]](mapping: Mapping[F], query: Query, cursor: Cursor): ProtoJson

Delegate query to the interpreter interpreter.

Delegate query to the interpreter interpreter. When evaluated by that interpreter the query will have expected type rootTpe.

Attributes

Source
queryinterpreter.scala
def effect[F[_]](mapping: Mapping[F], handler: EffectHandler[F], query: Query, cursor: Cursor): ProtoJson

Attributes

Source
queryinterpreter.scala

Combine possibly partial fields to create a possibly partial object.

Combine possibly partial fields to create a possibly partial object.

If all fields are complete then they will be combined as a complete Json object.

Attributes

Source
queryinterpreter.scala
def fromJson(value: Json): ProtoJson

Attributes

Source
queryinterpreter.scala

Combine possibly partial values to create a possibly partial array.

Combine possibly partial values to create a possibly partial array.

If all values are complete then they will be combined as a complete Json array.

Attributes

Source
queryinterpreter.scala

Test whether the argument contains any deferred subtrees

Test whether the argument contains any deferred subtrees

Yields true if the argument contains any component or staged subtrees, false otherwise.

Attributes

Source
queryinterpreter.scala
def mergeJson(elems: List[Json]): Json

Attributes

Source
queryinterpreter.scala

Attributes

Source
queryinterpreter.scala
def select(elem: ProtoJson, fieldName: String): ProtoJson

Select a value from a possibly partial object.

Select a value from a possibly partial object.

If the object is complete the selection will be a complete Json value.

Attributes

Source
queryinterpreter.scala

Implicits

Implicits

Attributes

Source
queryinterpreter.scala