ArrVisitor

confuse.formats.JsonReader$.ValueVisitor.ArrVisitor
class ArrVisitor(idx: Int) extends ArrVisitor[Value, Arr]

Attributes

Graph
Supertypes
trait ArrVisitor[Value, Arr]
trait ObjArrVisitor[Value, Arr]
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def subVisitor: Visitor[_, _]

Called on descent into elements.

Called on descent into elements.

The returned Visitor will be used to visit this branch of the json.

Attributes

Definition Classes
ObjArrVisitor
override def visitEnd(index: Int): Arr

Called on end of the object or array.

Called on end of the object or array.

Attributes

index

json source position at the start of the '}' or ']' being visited

Returns:

the result of visiting this array or object

Definition Classes
ObjArrVisitor
override def visitValue(v: Value, index: Int): Unit

Called on completion of visiting an array element or object field value, with the produced result, T.

Called on completion of visiting an array element or object field value, with the produced result, T.

Attributes

index

json source character position being visited

v

result of visiting a value in this object or arary (not the input value, this would have been passed to subVisitor)

Definition Classes
ObjArrVisitor

Inherited methods

def isObj: Boolean

Attributes

Returns:

true if this is a json object false if this is a json array

Inherited from:
ArrVisitor
override def narrow: ObjArrVisitor[Any, J]

Casts T from _ to Any.

Casts T from _ to Any.

Attributes

Definition Classes
ArrVisitor -> ObjArrVisitor
Inherited from:
ArrVisitor

Concrete fields

val arr: Arr