Package | Description |
---|---|
com.sun.jersey.api.json |
Provides support for enabling and configuring JSON.
|
Modifier and Type | Method and Description |
---|---|
JSONConfiguration.NaturalBuilder |
JSONConfiguration.NaturalBuilder.humanReadableFormatting(boolean humanReadableFormatting)
If set to true, generated JSON will contain new-line characters and indentation, so that
the output is easy to read for people.
|
static JSONConfiguration.NaturalBuilder |
JSONConfiguration.natural()
A static method for obtaining a builder of
JSONConfiguration instance, which will use JSONConfiguration.Notation.NATURAL JSON notation. |
JSONConfiguration.NaturalBuilder |
JSONConfiguration.NaturalBuilder.rootUnwrapping(boolean rootUnwrapping)
Setter for XML root element unwrapping.
|
JSONConfiguration.NaturalBuilder |
JSONConfiguration.NaturalBuilder.usePrefixesAtNaturalAttributes()
JSON names corresponding to XML attributes will be written using a '@' prefix
This property is valid for the
JSONConfiguration.Notation.NATURAL notation only. |
Copyright © 2013 Oracle Corporation. All rights reserved.