ObjDelegate

com.rallyhealth.weepickle.v1.core.Visitor.ObjDelegate
class ObjDelegate[T, J](val objVisitor: ObjVisitor[T, J]) extends ObjVisitor[T, J]

Attributes

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

Members list

Value members

Concrete methods

override def subVisitor: Visitor[Nothing, Any]

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
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
override def visitEnd(): J

Called on end of the object or array.

Called on end of the object or array.

Attributes

Returns

the result of visiting this array or object

Definition Classes
override def visitKey(): Visitor[_, _]

Attributes

Definition Classes
override def visitKeyValue(s: Any): Unit

Attributes

Definition Classes
override 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 parameters

v

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

Attributes

Definition Classes

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