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) |
ObjectMapper |
ObjectMapper.disable(MapperFeature... f) |
ObjectMapper |
ObjectMapper.enable(MapperFeature... f) |
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 |
---|---|
B |
MapperBuilder.configure(MapperFeature feature,
boolean state) |
B |
MapperBuilder.disable(MapperFeature... features) |
B |
MapperBuilder.enable(MapperFeature... features) |
boolean |
MapperConfig.isEnabled(MapperFeature f)
Accessor for simple mapper features (which are shared for
serialization, deserialization)
|
boolean |
MapperBuilder.isEnabled(MapperFeature f) |
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 © 2008–2019 FasterXML. All rights reserved.