org.json.JSONWriter
for writing
JSON values.See: Description
Interface | Description |
---|---|
StructureWriter |
Strategy interface for writing a JSON structure, either a JSON Object or
a JSON Array.
|
StructureWriterFactory |
Factory interface for creating
StructureWriter JSON Object and
JSON Array writers. |
Class | Description |
---|---|
CompactWriterFactory |
Factory class for creating
StructureWriter s for compact JSON output. |
NullStructureWriter |
Null structure writer for only allowing JSON Object or JSON Array as a
root value.
|
PrettyWriterFactory |
Factory class for creating
StructureWriter s for pretty-print
JSON output. |
SimpleStructureWriter |
Initial structure writer for when a
JSONWriter is only writing a
simple value. |
WriterUtil |
Static writer methods.
|
An internal package used by org.json.JSONWriter
for writing
JSON values. Some of the methods in the WriterUtil
might be useful
in limited circumstances.