Package | Description |
---|---|
com.hazelcast.internal.json |
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 |
PrettyPrint.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.
|
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.