upickle.core.ObjArrVisitor
Base class for visiting elements of json arrays and objects.
Type parameters
-
J
-
the result of visiting elements (e.g. a json AST or side-effecting writer)
-
T
-
???
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Attributes
-
Returns
-
true if this is a json object false if this is a json array
Called on descent into elements.
Called on descent into elements.
The returned Visitor will be used to visit this branch of the json.
Attributes
Called on end of the object or array.
Called on end of the object or array.
Value parameters
-
index
-
json source position at the start of the '}' or ']' being visited
Attributes
-
Returns
-
the result of visiting this array or object
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 parameters
-
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)
Attributes