public class DefaultPrettyPrinter extends Object implements com.fasterxml.jackson.core.PrettyPrinter
| Constructor and Description |
|---|
DefaultPrettyPrinter() |
DefaultPrettyPrinter(String indentation) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
writeEndArray(com.fasterxml.jackson.core.JsonGenerator gen,
int nrOfValues) |
void |
writeEndObject(com.fasterxml.jackson.core.JsonGenerator gen,
int nrOfEntries) |
void |
writeObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
writeRootValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg) |
void |
writeStartArray(com.fasterxml.jackson.core.JsonGenerator gen) |
void |
writeStartObject(com.fasterxml.jackson.core.JsonGenerator gen) |
public DefaultPrettyPrinter()
public DefaultPrettyPrinter(String indentation)
public void writeRootValueSeparator(com.fasterxml.jackson.core.JsonGenerator jg)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeRootValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeStartObject(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeStartObject in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeEndObject(com.fasterxml.jackson.core.JsonGenerator gen,
int nrOfEntries)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeEndObject in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeObjectEntrySeparator(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeObjectEntrySeparator in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeObjectFieldValueSeparator(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeObjectFieldValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeStartArray(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeStartArray in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeEndArray(com.fasterxml.jackson.core.JsonGenerator gen,
int nrOfValues)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeEndArray in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void writeArrayValueSeparator(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
writeArrayValueSeparator in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void beforeArrayValues(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
beforeArrayValues in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionpublic void beforeObjectEntries(com.fasterxml.jackson.core.JsonGenerator gen)
throws IOException,
com.fasterxml.jackson.core.JsonGenerationException
beforeObjectEntries in interface com.fasterxml.jackson.core.PrettyPrinterIOExceptioncom.fasterxml.jackson.core.JsonGenerationExceptionCopyright © 2018. All rights reserved.