Append an unescaped token
to this pointer
Note: If you provide escaped path the behaviour is undefined
Append the index
as reference token to JsonPointer
Append an unescaped list of tokens
to JsonPointer
Note: If you provide escaped paths the behaviour is undefined
Append all tokens of pointer
to this pointer
Note: The base URI of this pointer will remain untouched
Copy a JsonPointer
Return the underlying URI without the fragment
Return true
if the pointer is local (URI with only fragment)
Return true
if this pointer is a parent pointer of child
.
For instance "/properties"
pointer is parent pointer of "/properties/parent"
Return true
if the pointer is a root pointer
Remove last reference token of this pointer
Query objectToQuery
using the provided JsonPointerIterator.
If you need to query Vert.x json data structures, use {@link JsonPointer#queryJson}
Note: if this pointer is a root pointer, this function returns the provided object
Query jsonElement
.
Note: if this pointer is a root pointer, this function returns the provided json element
Query jsonElement
. If the query result is null, returns the default.
Note: if this pointer is a root pointer, this function returns the provided object
Query objectToQuery
using the provided JsonPointerIterator. If the query result is null, returns the default.
If you need to query Vert.x json data structures, use {@link JsonPointer#queryJsonOrDefault}
Note: if this pointer is a root pointer, this function returns the provided object
Build a string representation of the JSON Pointer
Build a URI representation of the JSON Pointer
Query objectToQuery
tracing each element walked during the query, including the first and the result (if any).
The first element of the list is objectToQuery and the last is the result, or the element before the first null was encountered
Write newElement
in objectToWrite
using this pointer. The path token "-" is handled as append to end of array
If you need to write in Vert.x json data structures, use {@link JsonPointer#writeJson} (Object)}
Write newElement
in jsonElement
using this pointer. The path token "-" is handled as append to end of array.
Write newElement
in jsonElement
using this pointer. The path token "-" is handled as append to end of array.
Build an empty JsonPointer
Build a JsonPointer from a json pointer string
Build a JsonPointer from a URI.
Generated using TypeDoc
Implementation of RFC6901 Json Pointers.