HugeCaseObjectContext

upickle.implicits.HugeCaseObjectContext
abstract class HugeCaseObjectContext[V](fieldCount: Int) extends ObjVisitor[Any, V], BaseCaseObjectContext

Attributes

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

Members list

Value members

Concrete methods

protected def checkErrorMissingKeys(rawArgsLength: Long): Boolean
protected def errorMissingKeys(rawArgsLength: Int, mappedArgs: Array[String]): Unit
def storeValueIfNotFound(i: Int, v: Any): Unit
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 methods

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

Attributes

Inherited from:
BaseCaseObjectContext
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

Inherited from:
ObjArrVisitor
def visitEnd(index: Int): J

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

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

Attributes

Inherited from:
BaseCaseObjectContext
def visitKeyValue(v: Any): Unit

Attributes

Inherited from:
ObjVisitor

Concrete fields

var found: Array[Long]

Inherited fields

var currentIndex: Int

Attributes

Inherited from:
BaseCaseObjectContext