Home
last modified time | relevance | path

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

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DArrayNode.java24 public class ArrayNode class
25 extends ContainerNode<ArrayNode>
32 public ArrayNode(JsonNodeFactory nf) { in ArrayNode() method in ArrayNode
40 public ArrayNode(JsonNodeFactory nf, int capacity) { in ArrayNode() method in ArrayNode
48 public ArrayNode(JsonNodeFactory nf, List<JsonNode> children) { in ArrayNode() method in ArrayNode
61 public ArrayNode deepCopy() in deepCopy()
63 ArrayNode ret = new ArrayNode(_nodeFactory); in deepCopy()
147 if (!(o instanceof ArrayNode)) { in equals()
150 ArrayNode other = (ArrayNode) o; in equals()
287 public ArrayNode add(JsonNode value) in add()
[all …]
DJsonNodeFactory.java324 public ArrayNode arrayNode() { return new ArrayNode(this); } in arrayNode()
332 public ArrayNode arrayNode(int capacity) { return new ArrayNode(this, capacity); } in arrayNode()
DJsonNodeCreator.java68 public ArrayNode arrayNode(); in arrayNode()
75 public ArrayNode arrayNode(int capacity); in arrayNode()
DObjectNode.java169 public ArrayNode withArray(String propertyName) in withArray()
173 if (n instanceof ArrayNode) { in withArray()
174 return (ArrayNode) n; in withArray()
180 ArrayNode result = arrayNode(); in withArray()
632 public ArrayNode putArray(String fieldName) in putArray()
634 ArrayNode n = arrayNode(); in putArray()
DContainerNode.java84 public final ArrayNode arrayNode() { return _nodeFactory.arrayNode(); } in arrayNode()
92 public final ArrayNode arrayNode(int capacity) { return _nodeFactory.arrayNode(capacity); } in arrayNode()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DArrayNodeTest.java11 import com.fasterxml.jackson.databind.node.ArrayNode;
25 ArrayNode n = new ArrayNode(JsonNodeFactory.instance); in testDirectCreation()
63 ArrayNode n2 = new ArrayNode(JsonNodeFactory.instance); in testDirectCreation()
104 ArrayNode n = new ArrayNode(f, list); in testDirectCreation2()
135 ArrayNode an = (ArrayNode) n; in testArrayViaMapper()
137 ArrayNode an2 = (ArrayNode) n.get(0); in testArrayViaMapper()
144 ArrayNode n = new ArrayNode(JsonNodeFactory.instance); in testAdds()
170 ArrayNode array = f.arrayNode(14); in testNullAdds()
193 final ArrayNode array = JsonNodeFactory.instance.arrayNode(); in testAddAllWithNullInCollection()
210 ArrayNode array = f.arrayNode(3); in testNullInserts()
[all …]
DTestDeepCopy.java35 ArrayNode root = mapper.createArrayNode(); in testWithArraySimple()
39 ArrayNode copy = root.deepCopy(); in testWithArraySimple()
57 ArrayNode leafArray = root.putArray("arr"); in testWithNested()
84 ((ArrayNode) copy.get("arr")).add(13); in testWithNested()
DTestNullNode.java14 ArrayNode _array;
17 public void setArray(ArrayNode n) { _array = n; } in setArray()
102 ArrayNode an = bean._array; in testNullHandlingCovariance()
DTestJsonNode.java112 ArrayNode nestedArray1 = MAPPER.createArrayNode(); in testCustomComparators()
121 ArrayNode nestedArray2 = MAPPER.createArrayNode(); in testCustomComparators()
168 ArrayNode array3 = MAPPER.createArrayNode(); in testCustomComparators()
DTreeReadViaMapperTest.java70 ArrayNode idList = (ArrayNode) ob; in testSimple()
DToStringForNodesTest.java22 final ArrayNode n = MAPPER.createArrayNode().add(0.25).add(true); in testArrayNode()
DObjectNodeTest.java289 ArrayNode child = root.withArray("arr"); in testValidWithArray()
290 assertTrue(child instanceof ArrayNode); in testValidWithArray()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DJsonNodeDeserializer.java41 if (nodeClass == ArrayNode.class) { in getDeserializer()
128 extends BaseNodeDeserializer<ArrayNode>
134 protected ArrayDeserializer() { super(ArrayNode.class, true); } in ArrayDeserializer()
139 public ArrayNode deserialize(JsonParser p, DeserializationContext ctxt) throws IOException in deserialize()
144 return (ArrayNode) ctxt.handleUnexpectedToken(ArrayNode.class, p); in deserialize()
153 public ArrayNode deserialize(JsonParser p, DeserializationContext ctxt, in deserialize()
154 ArrayNode node) throws IOException in deserialize()
157 return (ArrayNode) updateArray(p, ctxt, (ArrayNode) node); in deserialize()
159 return (ArrayNode) ctxt.handleUnexpectedToken(ArrayNode.class, p); in deserialize()
243 ((ArrayNode) oldValue).add(newValue); in _handleDuplicateField()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DTestParentChildReferences.java91 public ArrayNode[] nodes;
94 static class ArrayNode class in TestParentChildReferences
101 public ArrayNode() { this(null); } in ArrayNode() method in TestParentChildReferences.ArrayNode
102 public ArrayNode(String n) { name = n; } in ArrayNode() method in TestParentChildReferences.ArrayNode
268 ArrayNode node1 = new ArrayNode("a"); in testArrayOfRefs()
269 ArrayNode node2 = new ArrayNode("b"); in testArrayOfRefs()
270 root.nodes = new ArrayNode[] { node1, node2 }; in testArrayOfRefs()
274 ArrayNode[] kids = result.nodes; in testArrayOfRefs()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/merge/
DNodeMergeTest.java7 import com.fasterxml.jackson.databind.node.ArrayNode;
26 public ArrayNode list = MAPPER.createArrayNode();
67 ArrayNode a = props.putArray("array"); in testObjectDeepUpdate()
82 assertEquals(ArrayNode.class, n.getClass()); in testObjectDeepUpdate()
89 ArrayNode base = MAPPER.createArrayNode(); in testArrayNodeUpdateValue()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DTestNodeJDKSerialization.java5 import com.fasterxml.jackson.databind.node.ArrayNode;
23 ArrayNode arr = root.withArray("matrix"); in testObjectNodeSerialization()
34 ArrayNode root = MAPPER.createArrayNode(); in testArrayNodeSerialization()
DObjectReaderTest.java17 import com.fasterxml.jackson.databind.node.ArrayNode;
442 ArrayNode n = MAPPER.createArrayNode(); in testTreeToValue()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DEnumSerializer.java16 import com.fasterxml.jackson.databind.node.ArrayNode;
150 ArrayNode enumNode = objectNode.putArray("enum"); in getSchema()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestCustomDeserializers.java16 import com.fasterxml.jackson.databind.node.ArrayNode;
496 assertEquals(ArrayNode.class, w.getObject().getClass()); in testCustomSerializerWithReadTree()
/external/jackson-databind/release-notes/
DCREDITS-2.x104 * Contributed #317: Fix `JsonNode` support for nulls bound to `ObjectNode`, `ArrayNode`
966 * Reported, contributed fix for #2442: `ArrayNode.addAll()` adds raw `null` values
DVERSION-2.x46 #2732: Allow `JsonNode` auto-convert into `ArrayNode` if duplicates found (for XML)
911 #1181: Add the ability to specify the initial capacity of the ArrayNode
1615 #447: ArrayNode#addAll should accept Collection<? extends JsonNode>
2106 * [JACKSON-769]: ObjectNode/ArrayNode: change 'put', 'insert', 'add' to return
/external/jackson-databind/
DREADME.md151 // if known to be Object, as ObjectNode, if array, ArrayNode etc:
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DObjectMapper.java3147 public ArrayNode createArrayNode() {
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/lib/
Djavaslang-2.0.3.jarMETA-INF/ META-INF/MANIFEST.MF javaslang/ javaslang/collection/ javaslang/ ...
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...