Class 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:
    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  
      • Fields inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

        _arrayIndenter, _nesting, _objectFieldValueSeparatorWithSpaces, _objectIndenter, _rootSeparator, _separators, _spacesInObjectEntries, DEFAULT_ROOT_VALUE_SEPARATOR
      • Fields inherited from interface com.fasterxml.jackson.core.PrettyPrinter

        DEFAULT_SEPARATORS
    • 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
    • Method Detail

      • 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