Package | Description |
---|---|
org.codehaus.jackson.jaxrs |
Jackson-based JAX-RS provider that can automatically
serialize and deserialize resources for
JSON content type (MediaType).
|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
Modifier and Type | Method and Description |
---|---|
void |
MapperConfigurator.configure(SerializationConfig.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.configure(SerializationConfig.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.disable(SerializationConfig.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.enable(SerializationConfig.Feature f,
boolean state) |
Modifier and Type | Method and Description |
---|---|
static SerializationConfig.Feature |
SerializationConfig.Feature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializationConfig.Feature[] |
SerializationConfig.Feature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
ObjectMapper.configure(SerializationConfig.Feature f,
boolean state)
Method for changing state of an on/off serialization feature for
this object mapper.
|
ObjectMapper |
ObjectMapper.disable(SerializationConfig.Feature... f)
Method for enabling specified
DeserializationConfig features. |
void |
SerializationConfig.disable(SerializationConfig.Feature f)
Deprecated.
Since 1.9, it is preferable to use
SerializationConfig.without(org.codehaus.jackson.map.SerializationConfig.Feature...) instead;
this method is deprecated as it modifies current instance instead of
creating a new one (as the goal is to make this class immutable) |
ObjectMapper |
ObjectMapper.enable(SerializationConfig.Feature... f)
Method for enabling specified
DeserializationConfig features. |
void |
SerializationConfig.enable(SerializationConfig.Feature f)
Deprecated.
Since 1.9, it is preferable to use
SerializationConfig.with(org.codehaus.jackson.map.SerializationConfig.Feature...) instead;
this method is deprecated as it modifies current instance instead of
creating a new one (as the goal is to make this class immutable) |
boolean |
SerializerProvider.isEnabled(SerializationConfig.Feature feature)
Convenience method for checking whether specified serialization
feature is enabled or not.
|
boolean |
SerializationConfig.isEnabled(SerializationConfig.Feature f)
|
boolean |
ObjectMapper.isEnabled(SerializationConfig.Feature f)
Convenience method, equivalent to:
|
boolean |
Module.SetupContext.isEnabled(SerializationConfig.Feature f) |
void |
SerializationConfig.set(SerializationConfig.Feature f,
boolean state)
Deprecated.
Since 1.9, it is preferable to use
SerializationConfig.without(org.codehaus.jackson.map.SerializationConfig.Feature...) and SerializationConfig.with(org.codehaus.jackson.map.SerializationConfig.Feature...) instead;
this method is deprecated as it modifies current instance instead of
creating a new one (as the goal is to make this class immutable) |
SerializationConfig |
SerializationConfig.with(SerializationConfig.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features enabled.
|
SerializationConfig |
SerializationConfig.without(SerializationConfig.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|