Uses of Enum
com.fasterxml.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 (
com.fasterxml.jackson.databind).Contains public standard implementations of abstraction that
Jackson uses.
-
Uses of CoercionAction in com.fasterxml.jackson.databind
Methods in com.fasterxml.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 com.fasterxml.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 com.fasterxml.jackson.databind.cfg
Subclasses with type arguments of type CoercionAction in com.fasterxml.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 com.fasterxml.jackson.databind.cfg declared as CoercionActionModifier and TypeFieldDescriptionprotected final CoercionAction[]CoercionConfig._coercionsByShapeMapping fromCoercionInputShapeinto correspondingCoercionAction.protected CoercionActionCoercionConfigs._defaultActionGlobal default for cases not explicitly coveredMethods in com.fasterxml.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 type with the specified name.static CoercionAction[]CoercionAction.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.fasterxml.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(LogicalType, Consumer)andMapperBuilder.withCoercionConfigDefaults(Consumer)...Constructors in com.fasterxml.jackson.databind.cfg with parameters of type CoercionActionModifierConstructorDescriptionprotectedCoercionConfigs(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, Map<Class<?>, MutableCoercionConfig> perClassCoercions) -
Uses of CoercionAction in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std that return CoercionActionModifier and TypeMethodDescriptionprotected CoercionActionStdDeserializer._checkBooleanToStringCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkCoercionFail(DeserializationContext ctxt, CoercionAction act, Class<?> targetType, Object inputValue, String inputDesc) protected CoercionActionStdDeserializer._checkFloatToIntCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkFloatToStringCoercion(com.fasterxml.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(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkIntToStringCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Class<?> rawTargetType) protected CoercionActionStdDeserializer._checkToStringCoercion(com.fasterxml.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 com.fasterxml.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(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, CoercionAction act, Class<?> rawTargetType, String desc)