Home
last modified time | relevance | path

Searched refs:CoercionInputShape (Results 1 – 16 of 16) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoercePojosTest.java6 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()
DCoerceEmptyArrayTest.java12 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()
DCoerceMiscScalarsTest.java22 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()
DCoerceToBooleanTest.java14 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);
DCoerceFloatToIntTest.java7 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);
DCoerceContainersTest.java9 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/
DCoercionConfigs.java163 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()
DCoercionConfig.java13 private final static int INPUT_SHAPE_COUNT = CoercionInputShape.values().length;
34 public CoercionAction findAction(CoercionInputShape shape) { in findAction()
DCoercionInputShape.java19 public enum CoercionInputShape enum
DMutableCoercionConfig.java26 public MutableCoercionConfig setCoercion(CoercionInputShape shape, in setCoercion()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStdDeserializer.java17 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 …]
DFromStringDeserializer.java19 import com.fasterxml.jackson.databind.cfg.CoercionInputShape;
229 CoercionInputShape.EmptyString); in _deserializeFromEmptyString()
DNumberDeserializers.java13 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/
DValueInstantiator.java7 import com.fasterxml.jackson.databind.cfg.CoercionInputShape;
439 CoercionInputShape.String) == CoercionAction.TryConvert) { in _createFromStringFallbacks()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDeserializationContext.java16 import com.fasterxml.jackson.databind.cfg.CoercionInputShape;
490 Class<?> targetClass, CoercionInputShape inputShape) in findCoercionAction()
DDeserializationConfig.java930 Class<?> targetClass, CoercionInputShape inputShape) in findCoercionAction()