Uses of Enum Class
tools.jackson.databind.cfg.CoercionAction
Packages that use CoercionAction
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
tools.jackson.databind).Package that contains standard value and key deserializer base classes
that Jackson both uses for its own implementations and offers for
module developers as convenient partial implementations.
-
Uses of CoercionAction in tools.jackson.databind
Methods in tools.jackson.databind that return CoercionActionModifier and TypeMethodDescriptionDeserializationConfig.findCoercionAction(LogicalType targetType, Class<?> targetClass, CoercionInputShape inputShape) General-purpose accessor for finding what to do when specified coercion from shape that is now always allowed to be coerced from is requested.DeserializationContext.findCoercionAction(LogicalType targetType, Class<?> targetClass, CoercionInputShape inputShape) General-purpose accessor for finding what to do when specified coercion from shape that is now always allowed to be coerced from is requested.DeserializationConfig.findCoercionFromBlankString(LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one).DeserializationContext.findCoercionFromBlankString(LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one).Methods in tools.jackson.databind with parameters of type CoercionActionModifier and TypeMethodDescriptionDeserializationConfig.findCoercionFromBlankString(LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one).DeserializationContext.findCoercionFromBlankString(LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one). -
Uses of CoercionAction in tools.jackson.databind.cfg
Subclasses with type arguments of type CoercionAction in tools.jackson.databind.cfgModifier and TypeClassDescriptionenumSet of possible actions for requested coercion from an input shapeCoercionInputShapethat does not directly or naturally match target type (LogicalType).Fields in tools.jackson.databind.cfg declared as CoercionActionModifier and TypeFieldDescriptionprotected final CoercionAction[]CoercionConfig._coercionsByShapeMapping fromCoercionInputShapeinto correspondingCoercionAction.protected CoercionActionCoercionConfigs._defaultActionGlobal default for cases not explicitly coveredMethods in tools.jackson.databind.cfg that return CoercionActionModifier and TypeMethodDescriptionCoercionConfig.findAction(CoercionInputShape shape) CoercionConfigs.findCoercion(DeserializationConfig config, LogicalType targetType, Class<?> targetClass, CoercionInputShape inputShape) General-purpose accessor for finding what to do when specified coercion from shape that is now always allowed to be coerced from is requested.CoercionConfigs.findCoercionFromBlankString(DeserializationConfig config, LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one).static CoercionActionReturns the enum constant of this class with the specified name.static CoercionAction[]CoercionAction.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in tools.jackson.databind.cfg with parameters of type CoercionActionModifier and TypeMethodDescriptionCoercionConfigs.findCoercionFromBlankString(DeserializationConfig config, LogicalType targetType, Class<?> targetClass, CoercionAction actionIfBlankNotAllowed) More specialized accessor called in case of input being a blank String (one consisting of only white space characters with length of at least one).MutableCoercionConfig.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)...Constructors in tools.jackson.databind.cfg with parameters of type CoercionActionModifierConstructorDescriptionprotectedCoercionConfigs(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, Map<Class<?>, MutableCoercionConfig> perClassCoercions) -
Uses of CoercionAction in tools.jackson.databind.deser.std
Methods in tools.jackson.databind.deser.std that return CoercionActionModifier and TypeMethodDescriptionprotected CoercionActionStdDeserializer._checkBooleanToStringCoercion(tools.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkCoercionFail(DeserializationContext ctxt, CoercionAction act, Class<?> targetType, Object inputValue, String inputDesc) protected CoercionActionStdDeserializer._checkFloatToIntCoercion(tools.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkFloatToStringCoercion(tools.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkFromStringCoercion(DeserializationContext ctxt, String value) protected CoercionActionStdDeserializer._checkFromStringCoercion(DeserializationContext ctxt, String value, LogicalType logicalType, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkIntToFloatCoercion(tools.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkIntToStringCoercion(tools.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkToStringCoercion(tools.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType, Object inputValue, CoercionInputShape inputShape) protected CoercionActionStdDeserializer._findCoercionFromBlankString(DeserializationContext ctxt) protected CoercionActionStdDeserializer._findCoercionFromEmptyArray(DeserializationContext ctxt) protected CoercionActionStdDeserializer._findCoercionFromEmptyString(DeserializationContext ctxt) Methods in tools.jackson.databind.deser.std with parameters of type CoercionActionModifier and TypeMethodDescriptionprotected CoercionActionStdDeserializer._checkCoercionFail(DeserializationContext ctxt, CoercionAction act, Class<?> targetType, Object inputValue, String inputDesc) protected ObjectStdDeserializer._deserializeFromEmptyString(tools.jackson.core.JsonParser p, DeserializationContext ctxt, CoercionAction act, Class<?> rawTargetType, String desc)