Package net.sourceforge.plantuml.json
Class WriterConfig
java.lang.Object
net.sourceforge.plantuml.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
FieldsModifier and TypeFieldDescriptionstatic WriterConfig
Write JSON in its minimal form, without any additional whitespace.static WriterConfig
Write JSON in pretty-print, with each value on a separate line and an indentation of two spaces. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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()
-