Uses of Class
com.fasterxml.jackson.databind.cfg.MutableCoercionConfig
Packages that use MutableCoercionConfig
Package
Description
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.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
).-
Uses of MutableCoercionConfig in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return MutableCoercionConfigModifier and TypeMethodDescriptionObjectMapper.coercionConfigDefaults()
Accessor forMutableCoercionConfig
through which default (fallback) coercion configurations can be changed.ObjectMapper.coercionConfigFor
(LogicalType logicalType) Accessor forMutableCoercionConfig
through which coercion configuration for specified logical target type can be set.ObjectMapper.coercionConfigFor
(Class<?> physicalType) Accessor forMutableCoercionConfig
through which coercion configuration for specified physical target type can be set. -
Uses of MutableCoercionConfig in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as MutableCoercionConfigModifier and TypeFieldDescriptionprotected final 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
)Fields in com.fasterxml.jackson.databind.cfg with type parameters of type MutableCoercionConfigModifier and TypeFieldDescriptionprotected Map
<Class<?>, MutableCoercionConfig> CoercionConfigs._perClassCoercions
Coercion definitions by physical type (Class).Methods in com.fasterxml.jackson.databind.cfg that return MutableCoercionConfigModifier and TypeMethodDescriptionMutableCoercionConfig.copy()
CoercionConfigs.defaultCoercions()
CoercionConfigs.findOrCreateCoercion
(LogicalType type) CoercionConfigs.findOrCreateCoercion
(Class<?> type) MutableCoercionConfig.setAcceptBlankAsEmpty
(Boolean state) MutableCoercionConfig.setCoercion
(CoercionInputShape shape, CoercionAction action) Method to set coercions to target type or class during builder-style mapper construction withMapperBuilder.withCoercionConfig(Class, Consumer)
,MapperBuilder.withCoercionConfig(LogicalType, Consumer)
andMapperBuilder.withCoercionConfigDefaults(Consumer)
...Method parameters in com.fasterxml.jackson.databind.cfg with type arguments of type MutableCoercionConfigModifier and TypeMethodDescriptionMapperBuilder.withCoercionConfig
(LogicalType forType, Consumer<MutableCoercionConfig> handler) Method for changing coercion config for specific logical types, through callback to specific handler.MapperBuilder.withCoercionConfig
(Class<?> forType, Consumer<MutableCoercionConfig> handler) Method for changing coercion config for specific physical type, through callback to specific handler.MapperBuilder.withCoercionConfigDefaults
(Consumer<MutableCoercionConfig> handler) Method for changing target-type-independent coercion configuration defaults.Constructors in com.fasterxml.jackson.databind.cfg with parameters of type MutableCoercionConfigModifierConstructorDescriptionprotected
CoercionConfigs
(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, Map<Class<?>, MutableCoercionConfig> perClassCoercions) protected
Constructor parameters in com.fasterxml.jackson.databind.cfg with type arguments of type MutableCoercionConfigModifierConstructorDescriptionprotected
CoercionConfigs
(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, Map<Class<?>, MutableCoercionConfig> perClassCoercions)