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.
|
com.espertech.esper.common.internal.event.json.core |
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 |
---|---|
String |
JsonValue.toString(WriterConfig config)
Returns the JSON string for this value using the given formatting.
|
void |
JsonValue.writeTo(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 |
---|---|
String |
JsonEventObject.toString(WriterConfig config)
Returns the JSON string given a writer configuration
|
void |
JsonEventObject.writeTo(Writer writer,
WriterConfig config)
Write JSON to the provided writer and using the provided configuration.
|
Modifier and Type | Method and Description |
---|---|
String |
JsonEventObjectBase.toString(WriterConfig config) |
void |
JsonEventObjectBase.writeTo(Writer writer,
WriterConfig config) |
Copyright © 2005–2021. All rights reserved.