Class MutableCoercionConfig
- java.lang.Object
-
- com.fasterxml.jackson.databind.cfg.CoercionConfig
-
- com.fasterxml.jackson.databind.cfg.MutableCoercionConfig
-
- All Implemented Interfaces:
java.io.Serializable
public class MutableCoercionConfig extends CoercionConfig implements java.io.Serializable
Mutable version ofCoercionConfig(or rather, extended API) exposed during configuration phase ofObjectMapperconstruction (viaJsonMapper.builder()).- Since:
- 2.12
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MutableCoercionConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableCoercionConfigcopy()MutableCoercionConfigsetAcceptBlankAsEmpty(java.lang.Boolean state)MutableCoercionConfigsetCoercion(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
-
-
-
-
Method Detail
-
copy
public MutableCoercionConfig copy()
-
setCoercion
public MutableCoercionConfig setCoercion(CoercionInputShape shape, CoercionAction action)
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
public MutableCoercionConfig setAcceptBlankAsEmpty(java.lang.Boolean state)
-
-