| 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. 
 | 
| Modifier and Type | Interface and 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). | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends JsonStructure> | 
JsonPointer.add(T target,
   JsonValue value)
Adds or replaces a value at the referenced location in the specified
  
target with the specified value. | 
<T extends JsonStructure> | 
JsonPatch.apply(T target)
Applies the patch operations to the specified  
target. | 
<T extends JsonStructure> | 
JsonPointer.remove(T target)
Removes the value at the reference location in the specified  
target. | 
<T extends JsonStructure> | 
JsonPointer.replace(T target,
       JsonValue value)
Replaces the value at the referenced location in the specified
  
target with the specified value. | 
| Modifier and Type | Method and Description | 
|---|---|
JsonStructure | 
JsonReader.read()
Returns a JSON array or object that is represented in
 the input source. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
JsonPointer.containsValue(JsonStructure target)
Returns  
true if there is a value at the referenced location in the specified target. | 
static JsonPatch | 
Json.createDiff(JsonStructure source,
          JsonStructure target)
Generates a JSON Patch (RFC 6902)
 from the source and target  
JsonStructure. | 
JsonValue | 
JsonPointer.getValue(JsonStructure target)
Returns the value at the referenced location in the specified  
target. | 
void | 
JsonWriter.write(JsonStructure value)
 | 
| Modifier and Type | Method and Description | 
|---|---|
JsonPatch | 
JsonProvider.createDiff(JsonStructure source,
          JsonStructure target)
Generates a JSON Patch (RFC 6902)
 from the source and target  
JsonStructure. | 
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.