Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
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 |
SerializerProvider.isEnabled(MapperFeature feature) |
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 |
DeserializationContext.isEnabled(MapperFeature feature) |
abstract boolean |
DatabindContext.isEnabled(MapperFeature feature)
Convenience method for checking whether specified serialization
feature is enabled or not.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MapperConfig.isEnabled(MapperFeature f)
Accessor for simple mapper features (which are shared for
serialization, deserialization)
|
T |
MapperConfigBase.with(MapperFeature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features enabled.
|
abstract T |
MapperConfig.with(MapperFeature... features)
Method for constructing and returning a new instance with specified
mapper features enabled.
|
T |
MapperConfigBase.with(MapperFeature feature,
boolean state) |
abstract T |
MapperConfig.with(MapperFeature feature,
boolean state) |
T |
MapperConfigBase.without(MapperFeature... features)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|
abstract T |
MapperConfig.without(MapperFeature... features)
Method for constructing and returning a new instance with specified
mapper features disabled.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.