Package | Description |
---|---|
com.espertech.esper.common.client.json.minimaljson |
JSON event object interface and event sender.
|
com.espertech.esper.common.client.json.util |
JSON event object interface and event sender.
|
Modifier and Type | Class and Description |
---|---|
class |
PrettyPrint
Enables human readable JSON output by inserting whitespace between values.after commas and
colons.
|
Modifier and Type | Field and Description |
---|---|
static WriterConfig |
WriterConfig.MINIMAL
Write JSON in its minimal form, without any additional whitespace.
|
static WriterConfig |
WriterConfig.PRETTY_PRINT
Write JSON in pretty-print, with each value on a separate line and an indentation of two
spaces.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JsonValue.toString(WriterConfig config)
Returns the JSON string for this value using the given formatting.
|
void |
JsonValue.writeTo(java.io.Writer writer,
WriterConfig config)
Writes the JSON representation of this value to the given writer using the given formatting.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JsonEventObject.toString(WriterConfig config)
Returns the JSON string given a writer configuration
|
void |
JsonEventObject.writeTo(java.io.Writer writer,
WriterConfig config)
Write JSON to the provided writer and using the provided configuration.
|