ObjVisitor

trait ObjVisitor[-T, +J] extends ObjArrVisitor[T, J]

Visits the elements of a json object.

trait ObjArrVisitor[T, J]
class Object
trait Matchable
class Any
class MapObjContext[T, V, Z]
class ObjDelegate[T, J]

Value members

Abstract methods

def visitKey(): Visitor[_, _]
def visitKeyValue(v: Any): Unit

Concrete methods

def isObj: Boolean
override
def narrow: ObjVisitor[Any, J]
Definition Classes

Inherited methods

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.

Inherited from
ObjArrVisitor
def visitEnd(): J

Called on end of the object or array.

Called on end of the object or array.

Returns

the result of visiting this array or object

Inherited from
ObjArrVisitor
def visitValue(v: T): 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.

Value Params
v

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

Inherited from
ObjArrVisitor