Class PyishPrettyPrinter
- java.lang.Object
-
- com.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
- com.hubspot.jinjava.objects.serialization.PyishPrettyPrinter
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter
,com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>
,Serializable
public class PyishPrettyPrinter extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class 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
-
-
Field Summary
Fields Modifier and Type Field Description static PyishPrettyPrinter
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg)
void
beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg)
com.fasterxml.jackson.core.util.DefaultPrettyPrinter
createInstance()
void
writeEndArray(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfValues)
void
writeEndObject(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfEntries)
void
writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg)
-
Methods inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
_withSpaces, indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeArrayValueSeparator, writeObjectEntrySeparator, writeRootValueSeparator, writeStartArray, writeStartObject
-
-
-
-
Field Detail
-
INSTANCE
public static final PyishPrettyPrinter INSTANCE
-
-
Method Detail
-
createInstance
public com.fasterxml.jackson.core.util.DefaultPrettyPrinter createInstance()
- Specified by:
createInstance
in interfacecom.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>
- Overrides:
createInstance
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
beforeArrayValues
public void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg)
- Specified by:
beforeArrayValues
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
beforeArrayValues
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
writeEndArray
public void writeEndArray(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfValues) throws IOException
- Specified by:
writeEndArray
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
writeEndArray
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
-
writeObjectFieldValueSeparator
public void writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
- Specified by:
writeObjectFieldValueSeparator
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
writeObjectFieldValueSeparator
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
-
beforeObjectEntries
public void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg)
- Specified by:
beforeObjectEntries
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
beforeObjectEntries
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
writeEndObject
public void writeEndObject(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfEntries) throws IOException
- Specified by:
writeEndObject
in interfacecom.fasterxml.jackson.core.PrettyPrinter
- Overrides:
writeEndObject
in classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
- Throws:
IOException
-
-