Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonParser )
instances. |
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Field and Description |
---|---|
protected PrettyPrinter |
JsonGenerator._cfgPrettyPrinter
Object that handles pretty-printing (usually additional
white space to make results more human-readable) during
output.
|
Modifier and Type | Method and Description |
---|---|
PrettyPrinter |
JsonGenerator.getPrettyPrinter()
Accessor for checking whether this generator has a configured
PrettyPrinter ; returns it if so, null if none configured. |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGenerator.setPrettyPrinter(PrettyPrinter pp)
Method for setting a custom pretty printer, which is usually
used to add indentation for improved human readability.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultPrettyPrinter
Default
PrettyPrinter implementation that uses 2-space
indentation with platform-default linefeeds. |
class |
MinimalPrettyPrinter
PrettyPrinter implementation that adds no indentation,
just implements everything necessary for value output to work
as expected, and provide simpler extension points to allow
for creating simple custom implementations that add specific
decoration or overrides. |
Modifier and Type | Method and Description |
---|---|
PrettyPrinter |
JsonGeneratorDelegate.getPrettyPrinter() |
Modifier and Type | Method and Description |
---|---|
JsonGenerator |
JsonGeneratorDelegate.setPrettyPrinter(PrettyPrinter pp) |
Copyright © 2012-2013 FasterXML. All Rights Reserved.