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.
|
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, writeStartObject
private 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.PrettyPrinter
writeObjectFieldValueSeparator
in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
g
- The JsonGenerator
in use.java.io.IOException
- if g.writeRaw
fails.