Class MutableCoercionConfig
java.lang.Object
com.fasterxml.jackson.databind.cfg.CoercionConfig
com.fasterxml.jackson.databind.cfg.MutableCoercionConfig
- All Implemented Interfaces:
Serializable
Mutable version of
CoercionConfig (or rather, extended API)
exposed during configuration phase of ObjectMapper
construction (via JsonMapper.builder()).- Since:
- 2.12
- See Also:
-
Constructor Summary
Constructors -
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(LogicalType, Consumer)andMapperBuilder.withCoercionConfigDefaults(Consumer)...Methods inherited from class com.fasterxml.jackson.databind.cfg.CoercionConfig
findAction, getAcceptBlankAsEmpty
-
Constructor Details
-
MutableCoercionConfig
public 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
-