Package | Description |
---|---|
com.sun.jersey.api.json |
Provides support for enabling and configuring JSON.
|
com.sun.jersey.json.impl | |
com.sun.jersey.json.impl.reader | |
com.sun.jersey.json.impl.writer |
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 |
JSONConfigurated.getJSONConfiguration()
Provides information on current JSON configuration options for this object.
|
JSONConfiguration |
JSONJAXBContext.getJSONConfiguration()
Get the JSON configuration.
|
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,
Class... classesToBeBound)
Constructs a new instance with given
JSONConfiguration . |
JSONJAXBContext(JSONConfiguration config,
Class[] classesToBeBound,
Map<String,Object> properties)
Constructs a new instance with a custom set of properties.
|
JSONJAXBContext(JSONConfiguration config,
String contextPath)
Construct a new instance of using context class loader of the thread
with given
JSONConfiguration . |
JSONJAXBContext(JSONConfiguration config,
String contextPath,
ClassLoader classLoader,
Map<String,Object> properties)
Construct a new instance using a specified class loader,
set of properties and
JSONConfiguration . |
Modifier and Type | Field and Description |
---|---|
protected JSONConfiguration |
BaseJSONMarshaller.jsonConfig |
protected JSONConfiguration |
BaseJSONUnmarshaller.jsonConfig |
Modifier and Type | Method and Description |
---|---|
JSONConfiguration |
BaseJSONMarshaller.getJSONConfiguration() |
JSONConfiguration |
BaseJSONUnmarshaller.getJSONConfiguration() |
Modifier and Type | Method and Description |
---|---|
static XMLStreamReader |
Stax2JsonFactory.createReader(Reader reader,
JSONConfiguration config,
String rootName,
Class<?> expectedType,
JAXBContext jaxbContext) |
static XMLStreamReader |
Stax2JsonFactory.createReader(Reader reader,
JSONConfiguration config,
String rootName,
Class<?> expectedType,
JAXBContext jaxbContext,
boolean readingList) |
static XMLStreamWriter |
Stax2JsonFactory.createWriter(Writer writer,
JSONConfiguration config,
Class<?> expectedType,
JAXBContext jaxbContext) |
static XMLStreamWriter |
Stax2JsonFactory.createWriter(Writer writer,
JSONConfiguration config,
Class<?> expectedType,
JAXBContext jaxbContext,
boolean writingList) |
Constructor and Description |
---|
BaseJSONMarshaller(JAXBContext jaxbContext,
JSONConfiguration jsonConfig) |
BaseJSONMarshaller(Marshaller jaxbMarshaller,
JAXBContext jaxbContext,
JSONConfiguration jsonConfig) |
BaseJSONUnmarshaller(JAXBContext jaxbContext,
JSONConfiguration jsonConfig) |
BaseJSONUnmarshaller(Unmarshaller jaxbUnmarshaller,
JAXBContext jaxbContext,
JSONConfiguration jsonConfig) |
JSONMarshallerImpl(JAXBContext jaxbContext,
JSONConfiguration jsonConfig) |
JSONUnmarshallerImpl(JAXBContext jaxbContext,
JSONConfiguration jsonConfig) |
Modifier and Type | Method and Description |
---|---|
protected JSONConfiguration |
XmlEventProvider.getJsonConfiguration() |
Modifier and Type | Method and Description |
---|---|
static XMLStreamReader |
JsonXmlStreamReader.create(Reader reader,
JSONConfiguration configuration,
String rootName,
Class<?> expectedType,
JAXBContext jaxbContext,
boolean readingList)
Factory method for creating instances of this class.
|
Constructor and Description |
---|
NaturalNotationEventProvider(org.codehaus.jackson.JsonParser parser,
JSONConfiguration configuration,
String rootName,
JAXBContext jaxbContext,
Class<?> expectedType) |
XmlEventProvider(org.codehaus.jackson.JsonParser parser,
JSONConfiguration configuration,
String rootName) |
Modifier and Type | Method and Description |
---|---|
static XMLStreamWriter |
JsonXmlStreamWriter.createWriter(Writer writer,
JSONConfiguration config,
String rootName) |
Constructor and Description |
---|
Stax2JacksonWriter(org.codehaus.jackson.JsonGenerator generator,
JSONConfiguration config,
Class<?> expectedType,
JAXBContext jaxbContext) |
Copyright © 2013 Oracle Corporation. All rights reserved.