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

    Fields
    Modifier and Type
    Field
    Description
    static final PyishPrettyPrinter
     

    Fields inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

    DEFAULT_ROOT_VALUE_SEPARATOR

    Fields inherited from interface com.fasterxml.jackson.core.PrettyPrinter

    DEFAULT_SEPARATORS
  • Method Summary

    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
     
    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

    indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeArrayValueSeparator, writeObjectEntrySeparator, writeRootValueSeparator, writeStartArray, writeStartObject

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • createInstance

      public com.fasterxml.jackson.core.util.DefaultPrettyPrinter createInstance()
      Specified by:
      createInstance in interface com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>
      Overrides:
      createInstance in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
    • beforeArrayValues

      public void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator jg)
      Specified by:
      beforeArrayValues in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      beforeArrayValues in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
    • writeEndArray

      public void writeEndArray(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfValues) throws IOException
      Specified by:
      writeEndArray in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      writeEndArray in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException
    • writeObjectFieldValueSeparator

      public void writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) throws IOException
      Specified by:
      writeObjectFieldValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      writeObjectFieldValueSeparator in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException
    • beforeObjectEntries

      public void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator jg)
      Specified by:
      beforeObjectEntries in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      beforeObjectEntries in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
    • writeEndObject

      public void writeEndObject(com.fasterxml.jackson.core.JsonGenerator jg, int nrOfEntries) throws IOException
      Specified by:
      writeEndObject in interface com.fasterxml.jackson.core.PrettyPrinter
      Overrides:
      writeEndObject in class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
      Throws:
      IOException