java.lang.Object
tools.jackson.databind.cfg.CoercionConfig
tools.jackson.databind.cfg.MutableCoercionConfig
- All Implemented Interfaces:
Serializable
Mutable version of
CoercionConfig (or rather, extended API)
exposed during configuration phase of ObjectMapper
(via JsonMapper.builder()).- See Also:
-
Field Summary
Fields inherited from class tools.jackson.databind.cfg.CoercionConfig
_acceptBlankAsEmpty, _coercionsByShape -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptioncopy()setAcceptBlankAsEmpty(Boolean state) 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(tools.jackson.databind.type.LogicalType, Consumer)andMapperBuilder.withCoercionConfigDefaults(Consumer)... these builder methods.Methods inherited from class tools.jackson.databind.cfg.CoercionConfig
findAction, getAcceptBlankAsEmpty
-
Constructor Details
-
MutableCoercionConfig
public MutableCoercionConfig() -
MutableCoercionConfig
-
-
Method Details
-
copy
-
setCoercion
Method to set coercions to target type or class during builder-style mapper construction with ... these builder methods. Refrain from using this method outside of builder phase. -
setAcceptBlankAsEmpty
-