Package | Description |
---|---|
javax.json |
Provides an object model API to process JSON.
|
javax.json.stream |
Provides a streaming API to parse and generate
JSON.
|
Modifier and Type | Method | Description |
---|---|---|
JsonObject |
JsonObjectBuilder.build() |
Returns the JSON object associated with this object builder.
|
JsonObject |
JsonArray.getJsonObject(int index) |
Returns the object value at the specified position in this array.
|
JsonObject |
JsonObject.getJsonObject(String name) |
Returns the object value to which the specified name is mapped.
|
JsonObject |
JsonReader.readObject() |
Returns a JSON object that is represented in
the input source.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JsonWriter.writeObject(JsonObject object) |
Writes the specified JSON
object to the output
source. |
Modifier and Type | Method | Description |
---|---|---|
JsonParser |
JsonParserFactory.createParser(JsonObject obj) |
Creates a JSON parser from the specified JSON object.
|
Copyright © 2019 Oracle. All rights reserved.