Package | Description |
---|---|
com.fasterxml.jackson.databind |
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 |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
Modifier and Type | Method and Description |
---|---|
static MapperFeature |
MapperFeature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapperFeature[] |
MapperFeature.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(MapperFeature f,
boolean state)
Method for changing state of an on/off mapper feature for
this mapper instance.
|
ObjectMapper |
ObjectMapper.disable(MapperFeature... f)
Method for enabling specified
DeserializationConfig features. |
ObjectMapper |
ObjectMapper.enable(MapperFeature... f)
Method for enabling specified
MapperConfig features. |
boolean |
ObjectWriter.isEnabled(MapperFeature f) |
boolean |
ObjectReader.isEnabled(MapperFeature f) |
boolean |
ObjectMapper.isEnabled(MapperFeature f)
Method for checking whether given
MapperFeature is enabled. |
boolean |
Module.SetupContext.isEnabled(MapperFeature f) |
boolean |
DatabindContext.isEnabled(MapperFeature feature)
Convenience method for checking whether specified serialization
feature is enabled or not.
|
SerializationConfig |
SerializationConfig.with(MapperFeature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features enabled.
|
DeserializationConfig |
DeserializationConfig.with(MapperFeature... features) |
SerializationConfig |
SerializationConfig.with(MapperFeature feature,
boolean state) |
DeserializationConfig |
DeserializationConfig.with(MapperFeature feature,
boolean state) |
SerializationConfig |
SerializationConfig.without(MapperFeature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|
DeserializationConfig |
DeserializationConfig.without(MapperFeature... features) |
Modifier and Type | Method and Description |
---|---|
boolean |
MapperConfig.isEnabled(MapperFeature f)
Accessor for simple mapper features (which are shared for
serialization, deserialization)
|
abstract T |
MapperConfig.with(MapperFeature... features)
Method for constructing and returning a new instance with specified
mapper features enabled.
|
abstract T |
MapperConfig.with(MapperFeature feature,
boolean state) |
abstract T |
MapperConfig.without(MapperFeature... features)
Method for constructing and returning a new instance with specified
mapper features disabled.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.