public class MutableCoercionConfig extends CoercionConfig implements Serializable
CoercionConfig
(or rather, extended API)
exposed during configuration phase of ObjectMapper
construction (via JsonMapper.builder()
)._acceptBlankAsEmpty, _coercionsByShape
Modifier | Constructor and Description |
---|---|
|
MutableCoercionConfig() |
protected |
MutableCoercionConfig(MutableCoercionConfig src) |
Modifier and Type | Method and Description |
---|---|
MutableCoercionConfig |
copy() |
MutableCoercionConfig |
setAcceptBlankAsEmpty(Boolean state) |
MutableCoercionConfig |
setCoercion(CoercionInputShape shape,
CoercionAction action)
Method to set coercions to target type or class during builder-style mapper construction with
MapperBuilder.withCoercionConfig(Class, Consumer) ,
MapperBuilder.withCoercionConfig(LogicalType, Consumer) and
MapperBuilder.withCoercionConfigDefaults(Consumer)
... these builder methods. |
findAction, getAcceptBlankAsEmpty
public MutableCoercionConfig()
protected MutableCoercionConfig(MutableCoercionConfig src)
public MutableCoercionConfig copy()
public MutableCoercionConfig setCoercion(CoercionInputShape shape, CoercionAction action)
public MutableCoercionConfig setAcceptBlankAsEmpty(Boolean state)
Copyright © 2008–2024 FasterXML. All rights reserved.