Home
last modified time | relevance | path

Searched refs:newJsonMapper (Results 1 – 25 of 115) sorted by relevance

12345

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DCoercePojosTest.java16 private final ObjectMapper MAPPER = newJsonMapper();
88 mapper = newJsonMapper(); in _testPOJOFromEmptyGlobalConfig()
94 mapper = newJsonMapper(); in _testPOJOFromEmptyGlobalConfig()
101 mapper = newJsonMapper(); in _testPOJOFromEmptyGlobalConfig()
114 mapper = newJsonMapper(); in _testPOJOFromEmptyLogicalTypeConfig()
120 mapper = newJsonMapper(); in _testPOJOFromEmptyLogicalTypeConfig()
127 mapper = newJsonMapper(); in _testPOJOFromEmptyLogicalTypeConfig()
142 mapper = newJsonMapper(); in _testPOJOFromEmptyPhysicalTypeConfig()
148 mapper = newJsonMapper(); in _testPOJOFromEmptyPhysicalTypeConfig()
155 mapper = newJsonMapper(); in _testPOJOFromEmptyPhysicalTypeConfig()
DCoerceMiscScalarsTest.java31 MAPPER_EMPTY_TO_EMPTY = newJsonMapper();
38 MAPPER_EMPTY_TO_TRY_CONVERT = newJsonMapper();
45 MAPPER_EMPTY_TO_NULL = newJsonMapper();
52 MAPPER_EMPTY_TO_FAIL = newJsonMapper();
202 ObjectMapper failMapper = newJsonMapper(); in testUUIDCoercions()
DCoerceEmptyArrayTest.java31 MAPPER_TO_EMPTY = newJsonMapper();
38 MAPPER_TRY_CONVERT = newJsonMapper();
45 MAPPER_TO_NULL = newJsonMapper();
52 MAPPER_TO_FAIL = newJsonMapper();
DCoerceToBooleanTest.java31 MAPPER_TO_EMPTY = newJsonMapper();
37 MAPPER_TRY_CONVERT = newJsonMapper();
43 MAPPER_TO_NULL = newJsonMapper();
49 MAPPER_TO_FAIL = newJsonMapper();
DCoerceFloatToIntTest.java18 MAPPER_TO_EMPTY = newJsonMapper();
24 MAPPER_TRY_CONVERT = newJsonMapper();
30 MAPPER_TO_NULL = newJsonMapper();
36 MAPPER_TO_FAIL = newJsonMapper();
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/
DProblemHandlerTest.java236 private final ObjectMapper MAPPER = newJsonMapper();
240 ObjectMapper mapper = newJsonMapper() in testWeirdKeyHandling()
252 ObjectMapper mapper = newJsonMapper() in testWeirdNumberHandling()
261 ObjectMapper mapper = newJsonMapper() in testWeirdStringHandling()
276 ObjectMapper mapper = newJsonMapper() in testInvalidTypeId()
286 ObjectMapper mapper = newJsonMapper() in testInvalidClassAsId()
298 ObjectMapper mapper = newJsonMapper() in testMissingTypeId()
308 ObjectMapper mapper = newJsonMapper() in testMissingClassAsId()
332 ObjectMapper mapper = newJsonMapper() in testInstantiationExceptionHandling()
341 ObjectMapper mapper = newJsonMapper() in testMissingInstantiatorHandling()
[all …]
DTestUnknownPropertyDeserialization.java128 private final ObjectMapper MAPPER = newJsonMapper();
149 ObjectMapper mapper = newJsonMapper(); in testUnknownHandlingIgnoreWithHandler()
165 ObjectMapper mapper = newJsonMapper(); in testUnknownHandlingIgnoreWithHandlerAndObjectReader()
180 ObjectMapper mapper = newJsonMapper(); in testUnknownHandlingIgnoreWithFeature()
274 ObjectMapper jsonMapper = newJsonMapper(); in testIssue987()
DNullConversionsForContentTest.java43 private final ObjectMapper MAPPER = newJsonMapper();
58 ObjectMapper mapper = newJsonMapper(); in testFailOnNullFromDefaults()
69 mapper = newJsonMapper(); in testFailOnNullFromDefaults()
222 ObjectMapper mapper = newJsonMapper(); in testNullsAsEmptyUsingDefaults()
229 mapper = newJsonMapper(); in testNullsAsEmptyUsingDefaults()
314 ObjectMapper mapper = newJsonMapper(); in testNullsSkipUsingDefaults()
320 mapper = newJsonMapper(); in testNullsSkipUsingDefaults()
333 ObjectMapper mapper = newJsonMapper(); in testNullsSkipWithOverrides()
340 mapper = newJsonMapper(); in testNullsSkipWithOverrides()
DNullConversionsPojoTest.java46 private final ObjectMapper MAPPER = newJsonMapper();
73 ObjectMapper mapper = newJsonMapper(); in testFailOnNullWithDefaults()
101 ObjectMapper mapper = newJsonMapper(); in testNullsToEmptyScalar()
DNullConversionsSkipTest.java55 private final ObjectMapper MAPPER = newJsonMapper();
106 ObjectMapper mapper = newJsonMapper(); in testSkipNullWithDefaults()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DUnwrappedCaching2461Test.java43 final ObjectMapper mapperOrder1 = newJsonMapper(); in testUnwrappedCaching()
48 final ObjectMapper mapperOrder2 = newJsonMapper(); in testUnwrappedCaching()
DNumberNodes1770Test.java11 private final ObjectMapper MAPPER = newJsonMapper();
DEnumDeserialization2787Test.java31 protected final ObjectMapper MAPPER = newJsonMapper();
DCreatorFallback2438Test.java26 private final ObjectMapper MAPPER = newJsonMapper();
DDelegatingCreatorWithAbstractProp2252Test.java29 private final ObjectMapper MAPPER = newJsonMapper();
DRecursiveIgnoreProperties1755Test.java34 private final ObjectMapper MAPPER = newJsonMapper();
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/inject/
DTestInjectables.java93 private final ObjectMapper MAPPER = newJsonMapper();
97 ObjectMapper mapper = newJsonMapper(); in testSimple()
138 ObjectMapper mapper = newJsonMapper() in testIssue471()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/format/
DBooleanFormatTest.java53 private final static ObjectMapper MAPPER = newJsonMapper();
59 ObjectMapper m = newJsonMapper(); in testShapeViaDefaults()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/merge/
DMapMergeTest.java54 private final ObjectMapper MAPPER_SKIP_NULLS = newJsonMapper()
169 ObjectMapper mapper = newJsonMapper(); in testDisabledMergeViaGlobal()
186 ObjectMapper mapper = newJsonMapper(); in testDisabledMergeByType()
202 mapper = newJsonMapper(); in testDisabledMergeByType()
DMergeWithNullTest.java86 ObjectMapper mapper = newJsonMapper(); in testBeanMergingWithNullDefault()
96 mapper = newJsonMapper(); in testBeanMergingWithNullDefault()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreators3.java134 private final ObjectMapper MAPPER = newJsonMapper();
184 final ObjectMapper mapper = newJsonMapper(); in testMultiCtor421()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/validate/
DFullStreamReadTest.java34 private final ObjectMapper MAPPER = newJsonMapper();
64 ObjectMapper strict = newJsonMapper() in testMapperFailOnTrailing()
115 final ObjectMapper strict = newJsonMapper() in testMapperFailOnTrailingWithNull()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DIgnoredFieldPresentInCreatorProperty2001Test.java24 Foo deserialized = newJsonMapper().readValue("{\"query\": \"bar\"}", Foo.class); in testIgnoredFieldPresentInPropertyCreator()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DMapKeySerialization2306Test.java26 private final ObjectMapper MAPPER = newJsonMapper();
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DDateDeserializationTZ1153Test.java10 private final ObjectMapper MAPPER = newJsonMapper();

12345