Uses of Interface
javax.json.JsonStructure
-
Packages that use JsonStructure Package Description javax.json Provides an object model API to process JSON.javax.json.spi Service Provider Interface (SPI) to plug in implementations for JSON processing objects. -
-
Uses of JsonStructure in javax.json
Subinterfaces of JsonStructure in javax.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 javax.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 javax.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 javax.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 javax.json.spi
Methods in javax.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
.
-