ObjectContext

upickle.implicits.ReadersVersionSpecific.CaseClassReadereader.ObjectContext
trait ObjectContext extends ObjVisitor[Any, T], BaseCaseObjectContext

Attributes

Graph
Supertypes
trait ObjVisitor[Any, T]
trait ObjArrVisitor[Any, T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def storeAggregatedValue(currentIndex: Int, v: Any): Unit
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

def visitEnd(index: Int): T

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

def visitKeyValue(v: Any): Unit

Inherited methods

protected def checkErrorMissingKeys(rawArgsBitset: Long): Boolean

Attributes

Inherited from:
BaseCaseObjectContext
protected def errorMissingKeys(rawArgsLength: Int, mappedArgs: Array[String]): Unit

Attributes

Inherited from:
BaseCaseObjectContext
def isObj: Boolean

Attributes

Returns

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

Inherited from:
ObjVisitor
override def narrow: ObjVisitor[Any, J]

Casts T from _ to Any.

Casts T from _ to Any.

Attributes

Definition Classes
ObjVisitor -> ObjArrVisitor
Inherited from:
ObjVisitor
def storeValueIfNotFound(i: Int, v: Any): Unit

Attributes

Inherited from:
BaseCaseObjectContext
def visitKey(index: Int): StringVisitor.type

Attributes

Inherited from:
BaseCaseObjectContext
def visitValue(v: Any, 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.

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

Inherited from:
ObjArrVisitor

Inherited fields

var currentIndex: Int

Attributes

Inherited from:
BaseCaseObjectContext