private static class JsonBackend.ProPrettyPrinter
extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter
com.fasterxml.jackson.core.util.DefaultPrettyPrinter.FixedSpaceIndenter, com.fasterxml.jackson.core.util.DefaultPrettyPrinter.Indenter, com.fasterxml.jackson.core.util.DefaultPrettyPrinter.NopIndenter| Modifier and Type | Field and Description |
|---|---|
private static JsonBackend.ProPrettyPrinter |
_printerInstance
The singleton instance.
|
_arrayEmptySeparator, _arrayIndenter, _arrayValueSeparator, _nesting, _objectEmptySeparator, _objectEntrySeparator, _objectFieldValueSeparatorWithSpaces, _objectIndenter, _rootSeparator, _separators, _spacesInObjectEntries, DEFAULT_ROOT_VALUE_SEPARATOR| Modifier | Constructor and Description |
|---|---|
private |
ProPrettyPrinter()
The private constructor
|
| Modifier and Type | Method and Description |
|---|---|
static JsonBackend.ProPrettyPrinter |
instance()
Getter for the singleton instance.
|
void |
writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator g)
Core method of the class.
|
_withSpaces, beforeArrayValues, beforeObjectEntries, createInstance, indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeArrayValueSeparator, writeEndArray, writeEndObject, writeObjectEntrySeparator, writeRootValueSeparator, writeStartArray, writeStartObjectprivate static final JsonBackend.ProPrettyPrinter _printerInstance
public static JsonBackend.ProPrettyPrinter instance()
public void writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator g)
throws java.io.IOException
writeObjectFieldValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinterwriteObjectFieldValueSeparator in class com.fasterxml.jackson.core.util.DefaultPrettyPrinterg - The JsonGenerator in use.java.io.IOException - if g.writeRaw fails.