Package | Description |
---|---|
org.cakelab.json |
This package contains a JSON API and a JSON/POJO codec.
|
org.cakelab.json.codec | |
org.cakelab.json.format |
Modifier and Type | Field and Description |
---|---|
static JSONFormatter |
JSONDefaults.FORMATTER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
JSONCompoundType.toString(JSONFormatter formatter) |
java.lang.String |
JSONArray.toString(JSONFormatter formatter) |
java.lang.String |
JSONObject.toString(JSONFormatter formatter) |
Modifier and Type | Field and Description |
---|---|
JSONFormatter |
JSONCodecConfiguration.formatter
Defines the default
JSONFormatter used to render JSON strings. |
Modifier and Type | Method and Description |
---|---|
JSONCodecConfiguration |
JSONCodecConfiguration.formatter(JSONFormatter formatter) |
Constructor and Description |
---|
JSONCodecConfiguration(java.nio.charset.Charset charset,
boolean ignoreNull,
boolean ignoreMissingFields,
boolean supportClassAttribute,
JSONParserFactory parserFactory,
JSONFormatter formatter) |
Modifier and Type | Class and Description |
---|---|
class |
JSONFormatterBase<T extends java.io.PrintStream> |
class |
JSONFormatterCompact
Formatter which outputs the most compact string representation
|
class |
JSONFormatterPrettyprint
Formatter which creates pretty printed string output
|