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 |
---|---|
MutableCoercionConfig |
ObjectMapper.coercionConfigDefaults()
Accessor for
MutableCoercionConfig through which
default (fallback) coercion configurations can be changed. |
MutableCoercionConfig |
ObjectMapper.coercionConfigFor(Class<?> physicalType)
Accessor for
MutableCoercionConfig through which
coercion configuration for specified physical target type can be set. |
MutableCoercionConfig |
ObjectMapper.coercionConfigFor(LogicalType logicalType)
Accessor for
MutableCoercionConfig through which
coercion configuration for specified logical target type can be set. |
Modifier and Type | Field and Description |
---|---|
protected MutableCoercionConfig |
CoercionConfigs._defaultCoercions
Default coercion definitions used if no overrides found
by logical or physical type.
|
protected MutableCoercionConfig[] |
CoercionConfigs._perTypeCoercions
Coercion definitions by logical type (
LogicalType ) |
Modifier and Type | Field and Description |
---|---|
protected Map<Class<?>,MutableCoercionConfig> |
CoercionConfigs._perClassCoercions
Coercion definitions by physical type (Class).
|
Modifier and Type | Method and Description |
---|---|
MutableCoercionConfig |
MutableCoercionConfig.copy() |
MutableCoercionConfig |
CoercionConfigs.defaultCoercions() |
MutableCoercionConfig |
CoercionConfigs.findOrCreateCoercion(Class<?> type) |
MutableCoercionConfig |
CoercionConfigs.findOrCreateCoercion(LogicalType type) |
MutableCoercionConfig |
MutableCoercionConfig.setAcceptBlankAsEmpty(Boolean state) |
MutableCoercionConfig |
MutableCoercionConfig.setCoercion(CoercionInputShape shape,
CoercionAction action) |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.withCoercionConfig(Class<?> forType,
Consumer<MutableCoercionConfig> handler)
Method for changing coercion config for specific physical type, through
callback to specific handler.
|
B |
MapperBuilder.withCoercionConfig(LogicalType forType,
Consumer<MutableCoercionConfig> handler)
Method for changing coercion config for specific logical types, through
callback to specific handler.
|
B |
MapperBuilder.withCoercionConfigDefaults(Consumer<MutableCoercionConfig> handler)
Method for changing target-type-independent coercion configuration defaults.
|
Constructor and Description |
---|
CoercionConfigs(CoercionAction defaultAction,
MutableCoercionConfig defaultCoercions,
MutableCoercionConfig[] perTypeCoercions,
Map<Class<?>,MutableCoercionConfig> perClassCoercions) |
CoercionConfigs(CoercionAction defaultAction,
MutableCoercionConfig defaultCoercions,
MutableCoercionConfig[] perTypeCoercions,
Map<Class<?>,MutableCoercionConfig> perClassCoercions) |
MutableCoercionConfig(MutableCoercionConfig src) |
Constructor and Description |
---|
CoercionConfigs(CoercionAction defaultAction,
MutableCoercionConfig defaultCoercions,
MutableCoercionConfig[] perTypeCoercions,
Map<Class<?>,MutableCoercionConfig> perClassCoercions) |
Copyright © 2008–2022 FasterXML. All rights reserved.