Package | Description |
---|---|
com.sun.jersey.api.json |
Provides support for enabling and configuring JSON.
|
Modifier and Type | Field and Description |
---|---|
static JSONConfiguration |
JSONConfiguration.DEFAULT
The default JSONConfiguration uses
JSONConfiguration.Notation.MAPPED notation with root unwrapping option set to true. |
Modifier and Type | Method and Description |
---|---|
JSONConfiguration |
JSONConfiguration.Builder.build()
Constructs a new immutable
JSONConfiguration object based on options set on this Builder |
static JSONConfiguration |
JSONConfiguration.createJSONConfigurationWithFormatted(JSONConfiguration c,
boolean formatted)
A static method for obtaining
JSONConfiguration instance with humanReadableFormatting
set according to formatted parameter. |
static JSONConfiguration |
JSONConfiguration.createJSONConfigurationWithRootUnwrapping(JSONConfiguration c,
boolean rootUnwrapping)
A static method for obtaining
JSONConfiguration instance with rootUnwrapping
set according to formatted parameter. |
JSONConfiguration |
JSONJAXBContext.getJSONConfiguration()
Get the JSON configuration.
|
JSONConfiguration |
JSONConfigurated.getJSONConfiguration()
Provides information on current JSON configuration options for this object.
|
Modifier and Type | Method and Description |
---|---|
static JSONConfiguration.Builder |
JSONConfiguration.copyBuilder(JSONConfiguration jc) |
static JSONConfiguration |
JSONConfiguration.createJSONConfigurationWithFormatted(JSONConfiguration c,
boolean formatted)
A static method for obtaining
JSONConfiguration instance with humanReadableFormatting
set according to formatted parameter. |
static JSONConfiguration |
JSONConfiguration.createJSONConfigurationWithRootUnwrapping(JSONConfiguration c,
boolean rootUnwrapping)
A static method for obtaining
JSONConfiguration instance with rootUnwrapping
set according to formatted parameter. |
Constructor and Description |
---|
JSONJAXBContext(JSONConfiguration config,
java.lang.Class... classesToBeBound)
Constructs a new instance with given
JSONConfiguration . |
JSONJAXBContext(JSONConfiguration config,
java.lang.Class[] classesToBeBound,
java.util.Map<java.lang.String,java.lang.Object> properties)
Constructs a new instance with a custom set of properties.
|
JSONJAXBContext(JSONConfiguration config,
java.lang.String contextPath)
Construct a new instance of using context class loader of the thread
with given
JSONConfiguration . |
JSONJAXBContext(JSONConfiguration config,
java.lang.String contextPath,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.String,java.lang.Object> properties)
Construct a new instance using a specified class loader,
set of properties and
JSONConfiguration . |
Copyright © 2016 Oracle Corporation. All Rights Reserved.