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
@Beta
public class PyishPrettyPrinter
extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter
- See Also:
-
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
FieldsFields inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
DEFAULT_ROOT_VALUE_SEPARATORFields inherited from interface com.fasterxml.jackson.core.PrettyPrinter
DEFAULT_SEPARATORS -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg) voidbeforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg) com.fasterxml.jackson.core.util.DefaultPrettyPrintervoidwriteEndArray(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfValues) voidwriteEndObject(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfEntries) voidwriteObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) Methods inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeArrayValueSeparator, writeObjectEntrySeparator, writeRootValueSeparator, writeStartArray, writeStartObject
-
Field Details
-
INSTANCE
-
-
Method Details
-
createInstance
public com.fasterxml.jackson.core.util.DefaultPrettyPrinter createInstance()- Specified by:
createInstancein interfacecom.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>- Overrides:
createInstancein classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
beforeArrayValues
public void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg) - Specified by:
beforeArrayValuesin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
beforeArrayValuesin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
writeEndArray
public void writeEndArray(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfValues) throws IOException - Specified by:
writeEndArrayin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeEndArrayin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOException
-
writeObjectFieldValueSeparator
public void writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException - Specified by:
writeObjectFieldValueSeparatorin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeObjectFieldValueSeparatorin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOException
-
beforeObjectEntries
public void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg) - Specified by:
beforeObjectEntriesin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
beforeObjectEntriesin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
writeEndObject
public void writeEndObject(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfEntries) throws IOException - Specified by:
writeEndObjectin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeEndObjectin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOException
-