Uses of Interface
jakarta.json.JsonStructure
Package
Description
Provides an object model API to process JSON.
Service Provider Interface (SPI) to plug in implementations for
JSON processing objects.
-
Uses of JsonStructure in jakarta.json
Modifier and TypeInterfaceDescriptioninterface
JsonArray
represents an immutable JSON array (an ordered sequence of zero or more values).interface
JsonObject
class represents an immutable JSON object value (an unordered collection of zero or more name/value pairs).Modifier and TypeMethodDescription<T extends JsonStructure>
TAdds 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>
TReplaces the value at the referenced location in the specifiedtarget
with the specifiedvalue
.Modifier and TypeMethodDescriptionJsonReader.read()
Returns a JSON array or object that is represented in the input source.Modifier and TypeMethodDescriptionboolean
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
.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
Modifier and TypeMethodDescriptionJsonProvider.createDiff
(JsonStructure source, JsonStructure target) Generates a JSON Patch (RFC 6902) from the source and targetJsonStructure
.