Package io.kjson.pointer
Class JSONRef
-
- All Implemented Interfaces:
public final class JSONRef<J extends JSONValue>A reference to a JSON value of a specified type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJSONRef.Companion
-
Field Summary
Fields Modifier and Type Field Description private final JSONPointerpointerprivate final JSONValuebaseprivate final Jnodepublic final static JSONRef.CompanionCompanion
-
Method Summary
Modifier and Type Method Description final JSONPointergetPointer()final JSONValuegetBase()final JgetNode()final <T extends JSONStructure<?>> JSONRef<T>parent()final <T extends JSONStructure<?>> JSONRef<T>parent(KClass<T> parentClass)final <T extends JSONValue> JSONRef<T>locateChild(T target)final <T extends JSONValue> JSONRef<T>asRef()final <T extends JSONValue> BooleanisRef()Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Constructor Detail
-
JSONRef
JSONRef(J base)
-
-
Method Detail
-
getPointer
final JSONPointer getPointer()
-
getBase
final JSONValue getBase()
-
locateChild
final <T extends JSONValue> JSONRef<T> locateChild(T target)
-
-
-
-