Uses of Interface
jakarta.json.JsonStructure
-
Packages that use JsonStructure Package Description jakarta.json Provides an object model API to process JSON.jakarta.json.spi Service Provider Interface (SPI) to plug in implementations for JSON processing objects.org.glassfish.json -
-
Uses of JsonStructure in jakarta.json
Subinterfaces of JsonStructure in jakarta.json Modifier and Type Interface Description interface
JsonArray
JsonArray
represents an immutable JSON array (an ordered sequence of zero or more values).interface
JsonObject
JsonObject
class represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).Methods in jakarta.json with type parameters of type JsonStructure Modifier and Type Method Description <T extends JsonStructure>
TJsonPointer. add(T target, JsonValue value)
Adds or replaces a value at the referenced location in the specifiedtarget
with the specifiedvalue
.<T extends JsonStructure>
TJsonPatch. apply(T target)
Applies the patch operations to the specifiedtarget
.<T extends JsonStructure>
TJsonPointer. remove(T target)
Removes the value at the reference location in the specifiedtarget
.<T extends JsonStructure>
TJsonPointer. replace(T target, JsonValue value)
Replaces the value at the referenced location in the specifiedtarget
with the specifiedvalue
.Methods in jakarta.json that return JsonStructure Modifier and Type Method Description JsonStructure
JsonReader. read()
Returns a JSON array or object that is represented in the input source.Methods in jakarta.json with parameters of type JsonStructure Modifier and Type Method Description boolean
JsonPointer. containsValue(JsonStructure target)
Returnstrue
if there is a value at the referenced location in the specifiedtarget
.static JsonPatch
Json. createDiff(JsonStructure source, JsonStructure target)
Generates a JSON Patch (RFC 6902) from the source and targetJsonStructure
.JsonValue
JsonPointer. getValue(JsonStructure target)
Returns the value at the referenced location in the specifiedtarget
.void
JsonWriter. write(JsonStructure value)
-
Uses of JsonStructure in jakarta.json.spi
Methods in jakarta.json.spi with parameters of type JsonStructure Modifier and Type Method Description JsonPatch
JsonProvider. createDiff(JsonStructure source, JsonStructure target)
Generates a JSON Patch (RFC 6902) from the source and targetJsonStructure
. -
Uses of JsonStructure in org.glassfish.json
Methods in org.glassfish.json with type parameters of type JsonStructure Modifier and Type Method Description <T extends JsonStructure>
TJsonPatchBuilderImpl. apply(T target)
A convenience method fornew JsonPatchImpl(build()).apply(target)
.Methods in org.glassfish.json that return JsonStructure Modifier and Type Method Description JsonStructure
JsonPointerImpl. add(JsonStructure target, JsonValue value)
Adds or replaces a value at the referenced location in the specifiedtarget
with the specifiedvalue
.JsonStructure
JsonPatchImpl. apply(JsonStructure target)
Applies the patch operations to the specifiedtarget
.JsonStructure
JsonPointerImpl. remove(JsonStructure target)
Removes the value at the reference location in the specifiedtarget
JsonStructure
JsonPointerImpl. replace(JsonStructure target, JsonValue value)
Replaces the value at the referenced location in the specifiedtarget
with the specifiedvalue
.Methods in org.glassfish.json with parameters of type JsonStructure Modifier and Type Method Description JsonStructure
JsonPointerImpl. add(JsonStructure target, JsonValue value)
Adds or replaces a value at the referenced location in the specifiedtarget
with the specifiedvalue
.JsonStructure
JsonPatchImpl. apply(JsonStructure target)
Applies the patch operations to the specifiedtarget
.boolean
JsonPointerImpl. containsValue(JsonStructure target)
Returnstrue
if there is a value at the referenced location in the specifiedtarget
.JsonPatch
JsonProviderImpl. createDiff(JsonStructure source, JsonStructure target)
static JsonArray
JsonPatchImpl. diff(JsonStructure source, JsonStructure target)
Generates a JSON Patch from the source and targetJsonStructure
.JsonValue
JsonPointerImpl. getValue(JsonStructure target)
Returns the value at the referenced location in the specifiedtarget
JsonStructure
JsonPointerImpl. remove(JsonStructure target)
Removes the value at the reference location in the specifiedtarget
JsonStructure
JsonPointerImpl. replace(JsonStructure target, JsonValue value)
Replaces the value at the referenced location in the specifiedtarget
with the specifiedvalue
.
-