Home
last modified time | relevance | path

Searched refs:getNodeFactory (Results 1 – 12 of 12) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DTestNodeJDKSerialization.java46 testNodeRoundtrip(MAPPER.getNodeFactory().nullNode()); in testScalarSerialization()
48 testNodeRoundtrip(MAPPER.getNodeFactory().textNode("Foobar")); in testScalarSerialization()
50 testNodeRoundtrip(MAPPER.getNodeFactory().booleanNode(true)); in testScalarSerialization()
51 testNodeRoundtrip(MAPPER.getNodeFactory().booleanNode(false)); in testScalarSerialization()
53 testNodeRoundtrip(MAPPER.getNodeFactory().numberNode(123)); in testScalarSerialization()
54 testNodeRoundtrip(MAPPER.getNodeFactory().numberNode(-12345678901234L)); in testScalarSerialization()
DObjectMapperTest.java242 assertNotNull(m.getNodeFactory()); in testProps()
246 assertSame(nf, m.getNodeFactory()); in testProps()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestTreeSerialization.java30 ObjectNode n = mapper.getNodeFactory().objectNode(); in testSimpleViaObjectMapper()
61 ObjectNode n = mapper.getNodeFactory().objectNode(); in testPOJOString()
62 n.set("pojo", mapper.getNodeFactory().pojoNode("abc")); in testPOJOString()
77 ObjectNode n = mapper.getNodeFactory().objectNode(); in testPOJOIntArray()
78 n.set("pojo", mapper.getNodeFactory().pojoNode(new int[] { 1, 2, 3 })); in testPOJOIntArray()
101 ObjectNode n = mapper.getNodeFactory().objectNode(); in testPOJOBean()
102 n.set("pojo", mapper.getNodeFactory().pojoNode(new Bean())); in testPOJOBean()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java56 return ctxt.getNodeFactory().nullNode(); in getNullValue()
69 return deserializeObject(p, ctxt, ctxt.getNodeFactory()); in deserialize()
71 return deserializeArray(p, ctxt, ctxt.getNodeFactory()); in deserialize()
74 return deserializeAny(p, ctxt, ctxt.getNodeFactory()); in deserialize()
98 return deserializeObject(p, ctxt, ctxt.getNodeFactory()); in deserialize()
101 return deserializeObjectAtName(p, ctxt, ctxt.getNodeFactory()); in deserialize()
106 return ctxt.getNodeFactory().objectNode(); in deserialize()
142 return deserializeArray(p, ctxt, ctxt.getNodeFactory()); in deserialize()
410 JsonNodeFactory nodeFactory = ctxt.getNodeFactory(); in updateObject()
497 final JsonNodeFactory nodeFactory = ctxt.getNodeFactory(); in updateArray()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DToStringForNodesTest.java29 _verifyToStrings(MAPPER.getNodeFactory().binaryNode(new byte[] { 1, 2, 3, 4, 6 })); in testBinaryNode()
DJsonNodeFactoryTest.java14 JsonNodeFactory f = MAPPER.getNodeFactory(); in testSimpleCreation()
DArrayNodeTest.java100 JsonNodeFactory f = objectMapper().getNodeFactory(); in testDirectCreation2()
169 JsonNodeFactory f = objectMapper().getNodeFactory(); in testNullAdds()
209 JsonNodeFactory f = objectMapper().getNodeFactory(); in testNullInserts()
DTestConversions.java175 ValueNode pojoNode = MAPPER.getNodeFactory().pojoNode(c); in testTreeToValueWithPOJO()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectReader.java1348 return _config.getNodeFactory().arrayNode(); in createArrayNode()
1353 return _config.getNodeFactory().objectNode(); in createObjectNode()
1358 return _config.getNodeFactory().missingNode(); in missingNode()
1363 return _config.getNodeFactory().nullNode(); in nullNode()
2061 return _config.getNodeFactory().missingNode(); in _bindAsTree()
2068 resultNode = _config.getNodeFactory().nullNode(); in _bindAsTree()
2099 resultNode = _config.getNodeFactory().nullNode(); in _bindAsTreeOrNull()
DObjectMapper.java2165 public JsonNodeFactory getNodeFactory() {
2166 return _deserializationConfig.getNodeFactory();
2871 n = getNodeFactory().nullNode();
3136 return _deserializationConfig.getNodeFactory().objectNode();
3148 return _deserializationConfig.getNodeFactory().arrayNode();
3153 return _deserializationConfig.getNodeFactory().missingNode();
3158 return _deserializationConfig.getNodeFactory().nullNode();
3246 return (T) getNodeFactory().nullNode();
4575 return cfg.getNodeFactory().missingNode();
4582 resultNode = cfg.getNodeFactory().nullNode();
DDeserializationContext.java467 public final JsonNodeFactory getNodeFactory() { in getNodeFactory() method in DeserializationContext
468 return _config.getNodeFactory(); in getNodeFactory()
945 return getNodeFactory().missingNode(); in readTree()
949 return getNodeFactory().nullNode(); in readTree()
DDeserializationConfig.java838 public final JsonNodeFactory getNodeFactory() { in getNodeFactory() method in DeserializationConfig