| Package | Description |
|---|---|
| javax.json |
Provides an object model API to process JSON.
|
| 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 |
|---|---|
JsonStructure |
JsonPointer.add(JsonStructure target,
JsonValue value)
Adds or replaces a value at the referenced location in the specified
target with the specified value. |
JsonStructure |
JsonPatchBuilder.apply(JsonStructure target)
A convenience method for
new JsonPatch(build()).apply(target) |
JsonStructure |
JsonPatch.apply(JsonStructure target)
Applies the patch operations to the specified
target. |
JsonStructure |
JsonReader.read()
Returns a JSON array or object that is represented in
the input source.
|
JsonStructure |
JsonPointer.remove(JsonStructure target)
Removes the value at the reference location in the specified
target |
JsonStructure |
JsonPointer.replace(JsonStructure 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 |
JsonPointer.add(JsonStructure target,
JsonValue value)
Adds or replaces a value at the referenced location in the specified
target with the specified value. |
JsonStructure |
JsonPatchBuilder.apply(JsonStructure target)
A convenience method for
new JsonPatch(build()).apply(target) |
JsonStructure |
JsonPatch.apply(JsonStructure target)
Applies the patch operations to the specified
target. |
static JsonArray |
JsonPatch.diff(JsonStructure source,
JsonStructure target)
Generates a JSON Patch from the source and target
JsonStructure. |
JsonValue |
JsonPointer.getValue(JsonStructure target)
Returns the value at the referenced location in the specified
target |
JsonStructure |
JsonPointer.remove(JsonStructure target)
Removes the value at the reference location in the specified
target |
JsonStructure |
JsonPointer.replace(JsonStructure target,
JsonValue value)
Replaces the value at the referenced location in the specified
target with the specified value. |
void |
JsonWriter.write(JsonStructure value)
|
Copyright © 2012-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Comments to : users@json-processing-spec.java.net