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(DeserializationConfig.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.configure(DeserializationConfig.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.disable(DeserializationConfig.Feature f,
boolean state) |
JacksonJsonProvider |
JacksonJsonProvider.enable(DeserializationConfig.Feature f,
boolean state) |
Modifier and Type | Method and Description |
---|---|
static DeserializationConfig.Feature |
DeserializationConfig.Feature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeserializationConfig.Feature[] |
DeserializationConfig.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(DeserializationConfig.Feature f,
boolean state)
Method for changing state of an on/off deserialization feature for
this object mapper.
|
ObjectMapper |
ObjectMapper.disable(DeserializationConfig.Feature... f)
Method for enabling specified
DeserializationConfig features. |
void |
DeserializationConfig.disable(DeserializationConfig.Feature f)
Deprecated.
Since 1.9, it is preferable to use
DeserializationConfig.without(org.codehaus.jackson.map.DeserializationConfig.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(DeserializationConfig.Feature... f)
Method for enabling specified
DeserializationConfig features. |
void |
DeserializationConfig.enable(DeserializationConfig.Feature f)
Deprecated.
Since 1.9, it is preferable to use
DeserializationConfig.with(org.codehaus.jackson.map.DeserializationConfig.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 |
ObjectMapper.isEnabled(DeserializationConfig.Feature f)
Convenience method, equivalent to:
|
boolean |
Module.SetupContext.isEnabled(DeserializationConfig.Feature f) |
boolean |
DeserializationContext.isEnabled(DeserializationConfig.Feature feat)
Convenience method for checking whether specified on/off
feature is enabled
|
boolean |
DeserializationConfig.isEnabled(DeserializationConfig.Feature f)
An overload for
MapperConfig.isEnabled(MapperConfig.ConfigFeature) ,
needed for backwards-compatibility. |
void |
DeserializationConfig.set(DeserializationConfig.Feature f,
boolean state)
Deprecated.
Since 1.9, it is preferable to use
DeserializationConfig.without(org.codehaus.jackson.map.DeserializationConfig.Feature...) and DeserializationConfig.with(org.codehaus.jackson.map.DeserializationConfig.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) |
DeserializationConfig |
DeserializationConfig.with(DeserializationConfig.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features enabled.
|
DeserializationConfig |
DeserializationConfig.without(DeserializationConfig.Feature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|