Uses of Class
com.fasterxml.jackson.databind.cfg.CoercionAction
-
Packages that use CoercionAction Package Description com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.cfg 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).com.fasterxml.jackson.databind.deser.std 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 CoercionAction Modifier and Type Method Description CoercionActionDeserializationConfig. findCoercionAction(LogicalType targetType, java.lang.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.CoercionActionDeserializationContext. findCoercionAction(LogicalType targetType, java.lang.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.CoercionActionDeserializationConfig. findCoercionFromBlankString(LogicalType targetType, java.lang.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).CoercionActionDeserializationContext. findCoercionFromBlankString(LogicalType targetType, java.lang.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 CoercionAction Modifier and Type Method Description CoercionActionDeserializationConfig. findCoercionFromBlankString(LogicalType targetType, java.lang.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).CoercionActionDeserializationContext. findCoercionFromBlankString(LogicalType targetType, java.lang.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
Fields in com.fasterxml.jackson.databind.cfg declared as CoercionAction Modifier and Type Field Description protected CoercionAction[]CoercionConfig. _coercionsByShapeMapping fromCoercionInputShapeinto correspondingCoercionAction.protected CoercionActionCoercionConfigs. _defaultActionGlobal default for cases not explicitly coveredMethods in com.fasterxml.jackson.databind.cfg that return CoercionAction Modifier and Type Method Description CoercionActionCoercionConfig. findAction(CoercionInputShape shape)CoercionActionCoercionConfigs. findCoercion(DeserializationConfig config, LogicalType targetType, java.lang.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.CoercionActionCoercionConfigs. findCoercionFromBlankString(DeserializationConfig config, LogicalType targetType, java.lang.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 CoercionActionCoercionAction. valueOf(java.lang.String name)Returns 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 CoercionAction Modifier and Type Method Description CoercionActionCoercionConfigs. findCoercionFromBlankString(DeserializationConfig config, LogicalType targetType, java.lang.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).MutableCoercionConfigMutableCoercionConfig. 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 CoercionAction Constructor Description CoercionConfigs(CoercionAction defaultAction, MutableCoercionConfig defaultCoercions, MutableCoercionConfig[] perTypeCoercions, java.util.Map<java.lang.Class<?>,MutableCoercionConfig> perClassCoercions) -
Uses of CoercionAction in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std that return CoercionAction Modifier and Type Method Description protected CoercionActionStdDeserializer. _checkBooleanToStringCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, java.lang.Class<?> rawTargetType)protected CoercionActionStdDeserializer. _checkCoercionFail(DeserializationContext ctxt, CoercionAction act, java.lang.Class<?> targetType, java.lang.Object inputValue, java.lang.String inputDesc)protected CoercionActionStdDeserializer. _checkFloatToIntCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, java.lang.Class<?> rawTargetType)protected CoercionActionStdDeserializer. _checkFloatToStringCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, java.lang.Class<?> rawTargetType)protected CoercionActionStdDeserializer. _checkFromStringCoercion(DeserializationContext ctxt, java.lang.String value)protected CoercionActionStdDeserializer. _checkFromStringCoercion(DeserializationContext ctxt, java.lang.String value, LogicalType logicalType, java.lang.Class<?> rawTargetType)protected CoercionActionStdDeserializer. _checkIntToFloatCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, java.lang.Class<?> rawTargetType)protected CoercionActionStdDeserializer. _checkIntToStringCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, java.lang.Class<?> rawTargetType)protected CoercionActionStdDeserializer. _checkToStringCoercion(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, java.lang.Class<?> rawTargetType, java.lang.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 CoercionAction Modifier and Type Method Description protected CoercionActionStdDeserializer. _checkCoercionFail(DeserializationContext ctxt, CoercionAction act, java.lang.Class<?> targetType, java.lang.Object inputValue, java.lang.String inputDesc)protected java.lang.ObjectStdDeserializer. _deserializeFromEmptyString(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, CoercionAction act, java.lang.Class<?> rawTargetType, java.lang.String desc)
-