Class WriterConfig
java.lang.Object
com.espertech.esper.common.client.json.minimaljson.WriterConfig
- Direct Known Subclasses:
PrettyPrint
Controls the formatting of the JSON output. Use one of the available constants.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final WriterConfig
Write JSON in its minimal form, without any additional whitespace.static final WriterConfig
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces. -
Constructor Summary
-
Method Summary
-
Field Details
-
MINIMAL
Write JSON in its minimal form, without any additional whitespace. This is the default. -
PRETTY_PRINT
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces.
-
-
Constructor Details
-
WriterConfig
public WriterConfig()
-
-
Method Details
-
createWriter
-