Class JsonUtil.MinimalPrinter

java.lang.Object
com.fasterxml.jackson.core.util.DefaultPrettyPrinter
com.itextpdf.commons.utils.JsonUtil.MinimalPrinter
All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter, com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>, Serializable
Enclosing class:
JsonUtil

private static class JsonUtil.MinimalPrinter extends com.fasterxml.jackson.core.util.DefaultPrettyPrinter
This class is used to define a printer which serialize to minimal string, without extra spaces and line breaks.
  • 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 inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter

    _arrayEmptySeparator, _arrayIndenter, _arrayValueSeparator, _nesting, _objectEmptySeparator, _objectEntrySeparator, _objectFieldValueSeparatorWithSpaces, _objectIndenter, _rootSeparator, _separators, _spacesInObjectEntries, DEFAULT_ROOT_VALUE_SEPARATOR

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

    DEFAULT_SEPARATORS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.core.util.DefaultPrettyPrinter
     

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

    _withSpaces, beforeArrayValues, beforeObjectEntries, indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeArrayValueSeparator, writeEndArray, writeEndObject, writeObjectEntrySeparator, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartObject

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MinimalPrinter

      public MinimalPrinter()
  • 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