Class TrailingCommasPrettyPrinter
- java.lang.Object
-
- com.fasterxml.jackson.core.util.DefaultPrettyPrinter
-
- net.jangaroo.jooc.mvnplugin.converter.PackageJsonPrettyPrinter
-
- net.jangaroo.jooc.mvnplugin.converter.TrailingCommasPrettyPrinter
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.PrettyPrinter,com.fasterxml.jackson.core.util.Instantiatable<com.fasterxml.jackson.core.util.DefaultPrettyPrinter>,Serializable
public class TrailingCommasPrettyPrinter extends PackageJsonPrettyPrinter
- 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
-
-
Constructor Summary
Constructors Constructor Description TrailingCommasPrettyPrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.core.util.DefaultPrettyPrintercreateInstance()voidwriteEndArray(com.fasterxml.jackson.core.JsonGenerator g, int nrOfValues)voidwriteEndObject(com.fasterxml.jackson.core.JsonGenerator g, int nrOfEntries)-
Methods inherited from class com.fasterxml.jackson.core.util.DefaultPrettyPrinter
_withSpaces, beforeArrayValues, beforeObjectEntries, indentArraysWith, indentObjectsWith, withArrayIndenter, withObjectIndenter, withoutSpacesInObjectEntries, withRootSeparator, withRootSeparator, withSeparators, withSpacesInObjectEntries, writeArrayValueSeparator, writeObjectEntrySeparator, writeObjectFieldValueSeparator, writeRootValueSeparator, writeStartArray, writeStartObject
-
-
-
-
Method Detail
-
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 classPackageJsonPrettyPrinter
-
writeEndObject
public void writeEndObject(com.fasterxml.jackson.core.JsonGenerator g, int nrOfEntries) throws IOException- Specified by:
writeEndObjectin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeEndObjectin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOException
-
writeEndArray
public void writeEndArray(com.fasterxml.jackson.core.JsonGenerator g, int nrOfValues) throws IOException- Specified by:
writeEndArrayin interfacecom.fasterxml.jackson.core.PrettyPrinter- Overrides:
writeEndArrayin classcom.fasterxml.jackson.core.util.DefaultPrettyPrinter- Throws:
IOException
-
-