Package | Description |
---|---|
oracle.dbtools.plugin.api.json.objects |
API for creating in memory representations of JSON object graphs
(
JSONObjects ) and for
serializing object graphs to JSON representations. |
Modifier and Type | Interface and Description |
---|---|
interface |
JSONArray
An array of zero or more values
|
interface |
JSONObject
Represents a JSON object
|
Modifier and Type | Method and Description |
---|---|
JSONNode |
JSONNode.Builder.build()
Build the
JSONNode instance |
JSONNode |
JSONObjects.read(CharSequence text)
Parse a character stream into a
JSONObject or JSONArray
instance |
JSONNode |
JSONObjects.read(InputStream stream)
Parse a byte stream into a
JSONObject or JSONArray instance |
JSONNode |
JSONObjects.read(Iterator<JSONToken> stream)
Parse a JSONToken stream into a
JSONObject or JSONArray
instance |
JSONNode |
JSONObjects.read(Reader stream)
Parse a character stream into a
JSONObject or JSONArray
instance |
Modifier and Type | Method and Description |
---|---|
JSONArray.Builder |
JSONArray.Builder.add(JSONNode value)
Add a JSON value containing another JSON document
|
JSONObject.Builder |
JSONObject.Builder.add(String propertyName,
JSONNode value)
Add a JSON property containing another JSON document
|
void |
JSONObjects.write(Appendable stream,
JSONNode node)
Serialize a JSON Object graph to it's textual representation
|
void |
JSONObjects.write(JSONWriter stream,
JSONNode node)
Serialize a JSON Object graph to a
JSONWriter stream |
void |
JSONObjects.write(OutputStream stream,
JSONNode node)
Serialize a JSON Object graph to it's textual representation
|