Home
last modified time | relevance | path

Searched refs:setCoercion (Results 1 – 7 of 7) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoercePojosTest.java89 mapper.coercionConfigDefaults().setCoercion(shape, CoercionAction.AsNull) in _testPOJOFromEmptyGlobalConfig()
95 mapper.coercionConfigDefaults().setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyGlobalConfig()
102 mapper.coercionConfigDefaults().setCoercion(shape, CoercionAction.TryConvert) in _testPOJOFromEmptyGlobalConfig()
115 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsNull) in _testPOJOFromEmptyLogicalTypeConfig()
121 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyLogicalTypeConfig()
128 mapper.coercionConfigDefaults().setCoercion(shape, CoercionAction.AsNull) in _testPOJOFromEmptyLogicalTypeConfig()
130 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, in _testPOJOFromEmptyLogicalTypeConfig()
143 mapper.coercionConfigFor(Bean.class).setCoercion(shape, CoercionAction.AsNull) in _testPOJOFromEmptyPhysicalTypeConfig()
149 mapper.coercionConfigFor(Bean.class).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyPhysicalTypeConfig()
156 mapper.coercionConfigFor(LogicalType.POJO).setCoercion(shape, CoercionAction.AsEmpty) in _testPOJOFromEmptyPhysicalTypeConfig()
[all …]
DCoerceEmptyArrayTest.java33 .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.java33 .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.java33 .setCoercion(CoercionInputShape.Integer, CoercionAction.AsEmpty);
39 .setCoercion(CoercionInputShape.Integer, CoercionAction.TryConvert);
45 .setCoercion(CoercionInputShape.Integer, CoercionAction.AsNull);
51 .setCoercion(CoercionInputShape.Integer, CoercionAction.Fail);
DCoerceFloatToIntTest.java20 .setCoercion(CoercionInputShape.Float, CoercionAction.AsEmpty);
26 .setCoercion(CoercionInputShape.Float, CoercionAction.TryConvert);
32 .setCoercion(CoercionInputShape.Float, CoercionAction.AsNull);
38 .setCoercion(CoercionInputShape.Float, CoercionAction.Fail);
DCoerceContainersTest.java19 …COERCING_MAPPER.coercionConfigDefaults().setCoercion(CoercionInputShape.EmptyString, CoercionActio…
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/
DMutableCoercionConfig.java26 public MutableCoercionConfig setCoercion(CoercionInputShape shape, in setCoercion() method in MutableCoercionConfig