- java.lang.Object
-
- io.github.jopenlibs.vault.json.WriterConfig
-
- Direct Known Subclasses:
PrettyPrint
public abstract class WriterConfig extends java.lang.Object
Controls the formatting of the JSON output. Use one of the available constants.
-
-
Field Summary
Fields Modifier and Type Field Description static WriterConfig
MINIMAL
Write JSON in its minimal form, without any additional whitespace.static WriterConfig
PRETTY_PRINT
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces.
-
Constructor Summary
Constructors Constructor Description WriterConfig()
-
-
-
Field Detail
-
MINIMAL
public static final WriterConfig MINIMAL
Write JSON in its minimal form, without any additional whitespace. This is the default.
-
PRETTY_PRINT
public static WriterConfig PRETTY_PRINT
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces.
-
-