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 |
---|---|
ObjectMapper |
ObjectMapper.configure(DatatypeFeature f,
boolean state)
Method for changing state of an on/off datatype-specific feature for
this object mapper.
|
boolean |
ObjectWriter.isEnabled(DatatypeFeature f) |
boolean |
ObjectReader.isEnabled(DatatypeFeature f) |
boolean |
SerializationConfig.isEnabled(DatatypeFeature feature)
Accessor for checking whether give
DatatypeFeature
is enabled or not. |
abstract boolean |
DatabindContext.isEnabled(DatatypeFeature feature)
Method for checking whether specified datatype
feature is enabled or not.
|
boolean |
SerializerProvider.isEnabled(DatatypeFeature feature) |
boolean |
DeserializationContext.isEnabled(DatatypeFeature feature) |
boolean |
DeserializationConfig.isEnabled(DatatypeFeature feature)
Accessor for checking whether give
DatatypeFeature
is enabled or not. |
ObjectWriter |
ObjectWriter.with(DatatypeFeature feature)
Method for constructing a new instance that is configured
with specified feature enabled.
|
ObjectReader |
ObjectReader.with(DatatypeFeature feature)
Method for constructing a new reader instance that is configured
with specified feature enabled.
|
ObjectWriter |
ObjectWriter.withFeatures(DatatypeFeature... features)
Method for constructing a new instance that is configured
with specified features enabled.
|
ObjectReader |
ObjectReader.withFeatures(DatatypeFeature... features)
Method for constructing a new reader instance that is configured
with specified features enabled.
|
ObjectWriter |
ObjectWriter.without(DatatypeFeature feature)
Method for constructing a new instance that is configured
with specified feature disabled.
|
ObjectReader |
ObjectReader.without(DatatypeFeature feature)
Method for constructing a new reader instance that is configured
with specified feature disabled.
|
ObjectWriter |
ObjectWriter.withoutFeatures(DatatypeFeature... features)
Method for constructing a new instance that is configured
with specified features disabled.
|
ObjectReader |
ObjectReader.withoutFeatures(DatatypeFeature... features)
Method for constructing a new reader instance that is configured
with specified features disabled.
|
Modifier and Type | Class and Description |
---|---|
class |
EnumFeature
New Datatype-specific configuration options related to handling of
Enum types. |
class |
JsonNodeFeature
New Datatype-specific configuration options related to handling of
JsonNode types. |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.configure(DatatypeFeature feature,
boolean state) |
B |
MapperBuilder.disable(DatatypeFeature... features) |
B |
MapperBuilder.enable(DatatypeFeature... features) |
Boolean |
DatatypeFeatures.getExplicitState(DatatypeFeature f)
Accessor for getting explicit state of given feature in this set
iff explicitly set, or
null if not explicitly set (default value) |
boolean |
DatatypeFeatures.isEnabled(DatatypeFeature f)
Accessor for getting value of specified feature in this set, regardless of
whether explicit defined or not (if not explicitly enabled/disabled returns
default value,
JacksonFeature.enabledByDefault() . |
boolean |
DatatypeFeatures.isExplicitlySet(DatatypeFeature f)
Accessor for checking whether given feature has been explicitly enabled or
disabled in this set or not: if not it has the default value.
|
T |
MapperConfigBase.with(DatatypeFeature feature)
Fluent factory method that will return a configuration
object instance with specified feature enabled: this may be
this instance (if no changes effected), or a newly
constructed instance. |
DatatypeFeatures |
DatatypeFeatures.with(DatatypeFeature f)
Mutant factory method that returns an instance with given Feature
explicitly enabled.
|
T |
MapperConfigBase.with(DatatypeFeature feature,
boolean state)
Fluent factory method that will construct and return a new configuration
object instance with specified features disabled.
|
T |
MapperConfigBase.withFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration
object instance with specified features enabled: this may be
this instance (if no changes effected), or a newly
constructed instance. |
DatatypeFeatures |
DatatypeFeatures.withFeatures(DatatypeFeature... features)
"Bulk" variant of
DatatypeFeatures.with(DatatypeFeature) which allows explicit enabling
of multiple features |
T |
MapperConfigBase.without(DatatypeFeature feature)
Fluent factory method that will return a configuration
object instance with specified feature disabled: this may be
this instance (if no changes effected), or a newly
constructed instance. |
DatatypeFeatures |
DatatypeFeatures.without(DatatypeFeature f)
Mutant factory method that returns an instance with given Feature
explicitly disabled.
|
T |
MapperConfigBase.withoutFeatures(DatatypeFeature... features)
Fluent factory method that will return a configuration
object instance with specified features disabled: this may be
this instance (if no changes effected), or a newly
constructed instance. |
DatatypeFeatures |
DatatypeFeatures.withoutFeatures(DatatypeFeature... features)
"Bulk" variant of
DatatypeFeatures.without(DatatypeFeature) which allows explicit disabling
of multiple features |
Copyright © 2008–2023 FasterXML. All rights reserved.