Top Description Fields Constructors Methods
com.fasterxml.jackson.databind.cfg

public Class MutableCoercionConfig

extends CoercionConfig
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
com.fasterxml.jackson.databind.json.JsonMapper, com.fasterxml.jackson.databind.type.LogicalType, java.util.function.Consumer

Mutable version of CoercionConfig (or rather, extended API) exposed during configuration phase of com.fasterxml.jackson.databind.ObjectMapper construction (via JsonMapper#builder()).
Since
2.12

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from com.fasterxml.jackson.databind.cfg.CoercionConfig:
_acceptBlankAsEmpty_coercionsByShape

Constructor Summary

AccessConstructor and Description
public
protected

Method Summary

Modifier and TypeMethod and Description
public MutableCoercionConfig
copy()

public MutableCoercionConfig
public MutableCoercionConfig
Inherited from com.fasterxml.jackson.databind.cfg.CoercionConfig:
findActiongetAcceptBlankAsEmpty

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides com.fasterxml.jackson.databind.cfg.CoercionConfig.serialVersionUID.

Constructor Detail

MutableCoercionConfigback to summary
public MutableCoercionConfig()
MutableCoercionConfigback to summary
protected MutableCoercionConfig(MutableCoercionConfig src)

Method Detail

copyback to summary
public MutableCoercionConfig copy()
setAcceptBlankAsEmptyback to summary
public MutableCoercionConfig setAcceptBlankAsEmpty(Boolean state)
setCoercionback to summary
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.