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 | 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 | 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 | Description |
---|---|---|
JsonStructure |
JsonReader.read() |
Returns a JSON array or object that is represented in
the input source.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
JsonPatch |
JsonProvider.createDiff(JsonStructure source,
JsonStructure target) |
Generates a JSON Patch (RFC 6902)
from the source and target
JsonStructure . |
Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : jsonp-spec@javaee.groups.io