Class MutableCoercionConfig
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
FieldsFields inherited from class 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)...Methods inherited from class CoercionConfig
findAction, getAcceptBlankAsEmpty
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
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
-