Searched refs:CoercionInputShape (Results 1 – 16 of 16) sorted by relevance
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | CoercePojosTest.java | 6 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 41 _testPOJOFromEmptyGlobalConfig(CoercionInputShape.EmptyString, JSON_EMPTY, null); in testPOJOFromEmptyGlobalConfig() 46 _testPOJOFromEmptyLogicalTypeConfig(CoercionInputShape.EmptyString, JSON_EMPTY, null); in testPOJOFromEmptyLogicalTypeConfig() 51 _testPOJOFromEmptyPhysicalTypeConfig(CoercionInputShape.EmptyString, JSON_EMPTY, null); in testPOJOFromEmptyPhysicalTypeConfig() 62 _testPOJOFromEmptyGlobalConfig(CoercionInputShape.EmptyString, JSON_BLANK, Boolean.TRUE); in testPOJOFromBlankGlobalConfig() 67 … _testPOJOFromEmptyLogicalTypeConfig(CoercionInputShape.EmptyString, JSON_BLANK, Boolean.TRUE); in testPOJOFromBlankLogicalTypeConfig() 72 … _testPOJOFromEmptyPhysicalTypeConfig(CoercionInputShape.EmptyString, JSON_BLANK, Boolean.TRUE); in testPOJOFromBlankPhysicalTypeConfig() 81 private void _testPOJOFromEmptyGlobalConfig(final CoercionInputShape shape, final String json, in _testPOJOFromEmptyGlobalConfig() 107 …private void _testPOJOFromEmptyLogicalTypeConfig(final CoercionInputShape shape, final String json, in _testPOJOFromEmptyLogicalTypeConfig() 135 …private void _testPOJOFromEmptyPhysicalTypeConfig(final CoercionInputShape shape, final String jso… in _testPOJOFromEmptyPhysicalTypeConfig()
|
D | CoerceEmptyArrayTest.java | 12 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 33 .setCoercion(CoercionInputShape.EmptyArray, CoercionAction.AsEmpty); 40 .setCoercion(CoercionInputShape.EmptyArray, CoercionAction.TryConvert); 47 .setCoercion(CoercionInputShape.EmptyArray, CoercionAction.AsNull); 54 .setCoercion(CoercionInputShape.EmptyArray, CoercionAction.Fail); 106 .setCoercion(CoercionInputShape.EmptyArray, CoercionAction.Fail); in testPOJOFromEmptyArray() 114 .setCoercion(CoercionInputShape.EmptyArray, CoercionAction.AsEmpty); in testPOJOFromEmptyArray()
|
D | CoerceMiscScalarsTest.java | 22 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 33 .setCoercion(CoercionInputShape.EmptyString, CoercionAction.AsEmpty); 40 .setCoercion(CoercionInputShape.EmptyString, CoercionAction.TryConvert); 47 .setCoercion(CoercionInputShape.EmptyString, CoercionAction.AsNull); 54 .setCoercion(CoercionInputShape.EmptyString, CoercionAction.Fail); 204 .setCoercion(CoercionInputShape.EmptyString, CoercionAction.Fail); in testUUIDCoercions()
|
D | CoerceToBooleanTest.java | 14 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 33 .setCoercion(CoercionInputShape.Integer, CoercionAction.AsEmpty); 39 .setCoercion(CoercionInputShape.Integer, CoercionAction.TryConvert); 45 .setCoercion(CoercionInputShape.Integer, CoercionAction.AsNull); 51 .setCoercion(CoercionInputShape.Integer, CoercionAction.Fail);
|
D | CoerceFloatToIntTest.java | 7 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 20 .setCoercion(CoercionInputShape.Float, CoercionAction.AsEmpty); 26 .setCoercion(CoercionInputShape.Float, CoercionAction.TryConvert); 32 .setCoercion(CoercionInputShape.Float, CoercionAction.AsNull); 38 .setCoercion(CoercionInputShape.Float, CoercionAction.Fail);
|
D | CoerceContainersTest.java | 9 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 19 …COERCING_MAPPER.coercionConfigDefaults().setCoercion(CoercionInputShape.EmptyString, CoercionActio…
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | CoercionConfigs.java | 163 Class<?> targetClass, CoercionInputShape inputShape) in findCoercion() 194 if (inputShape == CoercionInputShape.EmptyArray) { in findCoercion() 199 if ((inputShape == CoercionInputShape.Float) in findCoercion() 220 if (inputShape == CoercionInputShape.EmptyString) { in findCoercion() 269 action = cc.findAction(CoercionInputShape.EmptyString); in findCoercionFromBlankString() 281 action = cc.findAction(CoercionInputShape.EmptyString); in findCoercionFromBlankString() 291 action = _defaultCoercions.findAction(CoercionInputShape.EmptyString); in findCoercionFromBlankString()
|
D | CoercionConfig.java | 13 private final static int INPUT_SHAPE_COUNT = CoercionInputShape.values().length; 34 public CoercionAction findAction(CoercionInputShape shape) { in findAction()
|
D | CoercionInputShape.java | 19 public enum CoercionInputShape enum
|
D | MutableCoercionConfig.java | 26 public MutableCoercionConfig setCoercion(CoercionInputShape shape, in setCoercion()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/ |
D | StdDeserializer.java | 17 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 270 CoercionInputShape.EmptyString); in _deserializeFromString() 288 CoercionInputShape.String) == CoercionAction.TryConvert) { in _deserializeFromString() 294 CoercionInputShape.String) == CoercionAction.TryConvert) { in _deserializeFromString() 301 CoercionInputShape.String) == CoercionAction.TryConvert) { in _deserializeFromString() 1187 CoercionInputShape.EmptyString); in _checkFromStringCoercion() 1193 act = ctxt.findCoercionAction(logicalType, rawTargetType, CoercionInputShape.String); in _checkFromStringCoercion() 1212 rawTargetType, CoercionInputShape.Float); in _checkFloatToIntCoercion() 1226 …tion act = ctxt.findCoercionAction(LogicalType.Boolean, rawTargetType, CoercionInputShape.Integer); in _coerceBooleanFromInt() 1750 CoercionInputShape.EmptyString); in _findCoercionFromEmptyString() [all …]
|
D | FromStringDeserializer.java | 19 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 229 CoercionInputShape.EmptyString); in _deserializeFromEmptyString()
|
D | NumberDeserializers.java | 13 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 453 …ercionAction act = ctxt.findCoercionAction(logicalType(), _valueClass, CoercionInputShape.Integer); in deserialize()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/ |
D | ValueInstantiator.java | 7 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 439 CoercionInputShape.String) == CoercionAction.TryConvert) { in _createFromStringFallbacks()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | DeserializationContext.java | 16 import com.fasterxml.jackson.databind.cfg.CoercionInputShape; 490 Class<?> targetClass, CoercionInputShape inputShape) in findCoercionAction()
|
D | DeserializationConfig.java | 930 Class<?> targetClass, CoercionInputShape inputShape) in findCoercionAction()
|