Uses of Class
com.eclipsesource.json.WriterConfig
Packages that use WriterConfig
-
Uses of WriterConfig in com.eclipsesource.json
Subclasses of WriterConfig in com.eclipsesource.jsonModifier and TypeClassDescriptionclassEnables human readable JSON output by inserting whitespace between values.after commas and colons.Fields in com.eclipsesource.json declared as WriterConfigModifier and TypeFieldDescriptionstatic WriterConfigWriterConfig.MINIMALWrite JSON in its minimal form, without any additional whitespace.static WriterConfigWriterConfig.PRETTY_PRINTWrite JSON in pretty-print, with each value on a separate line and an indentation of two spaces.Methods in com.eclipsesource.json with parameters of type WriterConfigModifier and TypeMethodDescriptionJsonValue.toString(WriterConfig config) Returns the JSON string for this value using the given formatting.voidJsonValue.writeTo(Writer writer, WriterConfig config) Writes the JSON representation of this value to the given writer using the given formatting.