Uses of Class
org.forgerock.json.JsonPointer
Packages that use JsonPointer
Package
Description
Provides an API for the traversal and manipulation of JSON object model structures in Java.
-
Uses of JsonPointer in org.forgerock.json
Fields in org.forgerock.json declared as JsonPointerModifier and TypeFieldDescriptionstatic final JsonPointer
JsonPatch.FROM_PTR
Path to the "from" attribute of a patch entry.static final JsonPointer
JsonPatch.OP_PTR
Path to the "op" attribute of a patch entry.static final JsonPointer
JsonPatch.PATH_PTR
Path to the "path" attribute of a patch entry.static final JsonPointer
JsonPatch.VALUE_PTR
Path to the "value" attribute of a patch entry.Methods in org.forgerock.json that return JsonPointerModifier and TypeMethodDescriptionJsonPointer.child
(int child) Returns a new JSON pointer, which identifies a specified child element of the array identified by this pointer.Returns a new JSON pointer, which identifies a specified child member of the object identified by this pointer.JsonValue.getPointer()
Returns the pointer of the JSON value in its JSON structure.JsonPointer.parent()
Returns a pointer to the parent of the JSON value identified by this JSON pointer, ornull
if the pointer has no parent JSON value (i.e. references document root).static JsonPointer
Constructs a JSON pointer from an iterable collection of reference tokens.static JsonPointer
Constructs a JSON pointer, identifying the specified pointer value.static JsonPointer
Constructs a JSON pointer from an array of reference tokens.JsonPointer.relativePointer()
Returns a pointer containing all but the first reference token contained in this pointer, or/
if this pointer contains less than 2 reference tokens.JsonPointer.relativePointer
(int sz) Returns a pointer containing the lastsz
reference tokens contained in this pointer.Methods in org.forgerock.json that return types with arguments of type JsonPointerModifier and TypeMethodDescriptionJsonValueFunctions.pointer()
Returns the JSON string value as a JSON pointer.Methods in org.forgerock.json with parameters of type JsonPointerModifier and TypeMethodDescriptionJsonValue.add
(JsonPointer pointer, Object object) Adds the value identified by the specified pointer, relative to this value as root.JsonValue.addPermissive
(JsonPointer pointer, Object object) Adds the value identified by the specified pointer, relative to this value as root.JsonValue.get
(JsonPointer pointer) Returns the specified child value with a pointer, relative to this value as root.JsonValue.put
(JsonPointer pointer, Object object) Sets the value identified by the specified pointer, relative to this value as root.JsonValue.putPermissive
(JsonPointer pointer, Object object) Sets the value identified by the specified pointer, relative to this value as root.void
JsonValue.remove
(JsonPointer pointer) Removes the specified child value with a pointer, relative to this value as root.Constructors in org.forgerock.json with parameters of type JsonPointerModifierConstructorDescriptionJsonValue
(Object object, JsonPointer pointer) Constructs a JSON value object with a given object and pointer.