## Uses of Interface
oracle.dbtools.plugin.api.json.JSONWriter

- Packages that use JSONWriter
  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.

- - ### Uses of JSONWriter in oracle.dbtools.plugin.api.json

    Methods in oracle.dbtools.plugin.api.json that return JSONWriter
    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(Readable value)` Emit a textual value, quoting and escaping the string.

  - ### Uses of JSONWriter in oracle.dbtools.plugin.api.json.objects

    Methods in oracle.dbtools.plugin.api.json.objects with parameters of type JSONWriter
    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.

Copyright © 2010, 2022, Oracle and/or its affiliates.