Package | Description |
---|---|
oracle.dbtools.plugin.api.json |
JavaScript Object Notation (JSON) APIs for reading and writing JSON character streams.
|
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 | Method and Description |
---|---|
JSONWriter |
JSONWriter.append(JSONToken token)
Write a
JSONToken instance to the stream. |
JSONWriter |
JSONWriter.endArray()
End an array, emit the closing square bracket (
] ). |
JSONWriter |
JSONWriter.endObject()
End an object, emit the closing brace (
} ). |
JSONWriter |
JSONStreams.jsonWriter(Appendable stream)
Wrap the specified character stream in a
JSONWriter instance. |
JSONWriter |
JSONStreams.jsonWriter(OutputStream stream)
Wrap the specified byte stream in a
JSONWriter instance. |
JSONWriter |
JSONWriter.nullValue()
Emit a null property value.
|
JSONWriter |
JSONWriter.property(String name,
CharSequence value)
Emit a property with a textual value.
|
JSONWriter |
JSONWriter.propertyName(String name)
Emit the name of a property
|
JSONWriter |
JSONWriter.startArray()
Start an array, emit the opening square bracket(
[ ) |
JSONWriter |
JSONWriter.startObject()
Start an object, emit the opening brace (
{ ). |
JSONWriter |
JSONWriter.value(Boolean value)
Emit a boolean value, mapping it to the unquoted values:
true
or false |
JSONWriter |
JSONWriter.value(CharSequence value)
Emit a textual value, quoting and escaping the string
|
JSONWriter |
JSONWriter.value(Number value)
Emit a numeric value.
|
JSONWriter |
JSONWriter.value(Reader value)
Emit a textual value, quoting and escaping the string.
|
Modifier and Type | Method and Description |
---|---|
void |
JSONObjects.write(JSONWriter stream,
JSONNode node)
Serialize a JSON Object graph to a
JSONWriter stream |
void |
JSONObjects.write(JSONWriter stream,
Object objectGraph)
Serialize any Java Object graph to a
JSONWriter stream. |
Oracle REST Data Services Plugin API version: 3.0.0.65.09.35 Copyright © 2015 Oracle Corp. All Rights Reserved.