Searched refs:mapper2 (Results 1 – 7 of 7) sorted by relevance
/external/jackson-databind/src/test/java/perf/ |
D | ObjectReaderTestBase.java | 23 ObjectMapper mapper2, String desc2, in testFromBytes() argument 28 final byte[] byteInput2 = mapper2.writeValueAsBytes(inputValue2); in testFromBytes() 34 /*T2 back2 =*/ mapper2.readValue(byteInput2, inputClass2); in testFromBytes() 40 doTest(mapper1, byteInput1, inputClass1, mapper2, byteInput2, inputClass2); in testFromBytes() 45 ObjectMapper mapper2, String desc2, in testFromString() argument 50 final String input2 = mapper2.writeValueAsString(inputValue2); in testFromString() 58 /*T2 back2 =*/ mapper2.readValue(input2, inputClass2); in testFromString() 61 doTest(mapper1, input1, inputClass1, mapper2, input2, inputClass2); in testFromString() 65 ObjectMapper mapper2, byte[] byteInput2, Class<?> inputClass2) in doTest() argument 74 final ObjectReader arrayReader = mapper2.reader() in doTest() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | TestJDKSerialization.java | 104 ObjectMapper mapper2 = jdkDeserialize(bytes); in testEnumHandlers() local 105 assertNotNull(mapper2); in testEnumHandlers() 168 ObjectMapper mapper2 = jdkDeserialize(bytes); in testObjectMapper() local 169 assertEquals(EXP_JSON, mapper2.writeValueAsString(p)); in testObjectMapper() 170 MyPojo p2 = mapper2.readValue(EXP_JSON, MyPojo.class); in testObjectMapper() 175 assertNotNull(mapper2.getFactory()); in testObjectMapper() 176 assertNotNull(mapper2.getFactory().getCodec()); in testObjectMapper()
|
D | ObjectReaderTest.java | 157 ObjectMapper mapper2 = JsonMapper.builder() in testParserFeaturesCtrlChars() local 160 result = mapper2.readerFor(Map.class) in testParserFeaturesCtrlChars()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/ |
D | TestMixinSerForClass.java | 117 ObjectMapper mapper2 = new ObjectMapper(); in testClassMixInsMidLevel() local 118 result = writeAndMap(mapper2, bean); in testClassMixInsMidLevel() 120 ObjectMapper mapper3 = mapper2.copy(); in testClassMixInsMidLevel()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/ |
D | TestPOJOAsArray.java | 224 ObjectMapper mapper2 = new ObjectMapper(); in testAnnotationOverride() local 225 mapper2.setAnnotationIntrospector(new ForceArraysIntrospector()); in testAnnotationOverride() 226 assertEquals("[[1,2]]", mapper2.writeValueAsString(new A())); in testAnnotationOverride()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/ |
D | TestDuplicateRegistration.java | 50 ObjectMapper mapper2 = jsonMapperBuilder() in testDuplicateRegistration() local
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/vld/ |
D | BasicPTVTest.java | 106 ObjectMapper mapper2 = jsonMapperBuilder() in testAllowByBaseClass() local 111 NumberWrapper nw = mapper2.readValue(json2, NumberWrapper.class); in testAllowByBaseClass()
|