Home
last modified time | relevance | path

Searched refs:JSON_MAPPER (Results 1 – 3 of 3) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DInternalNodeMapper.java18 private final static JsonMapper JSON_MAPPER = new JsonMapper(); field in InternalNodeMapper
20 private final static ObjectWriter STD_WRITER = JSON_MAPPER.writer();
21 private final static ObjectWriter PRETTY_WRITER = JSON_MAPPER.writer()
24 private final static ObjectReader NODE_READER = JSON_MAPPER.readerFor(JsonNode.class);
47 return JSON_MAPPER.writeValueAsBytes(value); in valueToBytes()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestCreatorsWithIdentity.java42 private static final ObjectMapper JSON_MAPPER = new ObjectMapper(); field in TestCreatorsWithIdentity
48 Parent parent = JSON_MAPPER.readValue(parentStr, Parent.class); in testSimple()
50 Child child = JSON_MAPPER.readValue(childStr, Child.class); in testSimple()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DConvertingAbstractSerializer795Test.java74 private static final ObjectMapper JSON_MAPPER = new ObjectMapper(); field in ConvertingAbstractSerializer795Test
78 AbstractCustomTypeUser cu = JSON_MAPPER.readValue(test, AbstractCustomTypeUser.class); in testAbstractTypeDeserialization()
84 NonAbstractCustomTypeUser cu = JSON_MAPPER.readValue(test, NonAbstractCustomTypeUser.class); in testNonAbstractDeserialization()