Class JsonNode.ArrayNode
java.lang.Object
cloud.opencode.base.json.JsonNode.ArrayNode
- Enclosing interface:
JsonNode
Array Node - Represents a JSON array.
数组节点 - 表示 JSON 数组。
- Since:
- JDK 25, opencode-base-json V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface JsonNode
JsonNode.ArrayNode, JsonNode.BooleanNode, JsonNode.NullNode, JsonNode.NumberNode, JsonNode.ObjectNode, JsonNode.StringNode -
Field Summary
Fields inherited from interface JsonNode
OF_MAX_DEPTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(boolean value) addArray()addNull()booleanget(int index) Gets a child node by index (for arrays).inthashCode()booleanisArray()Returns whether this node is an array.iterator()remove(int index) intsize()Returns the number of children (for objects/arrays).toList()toString()Methods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ArrayNode
public ArrayNode()
-
-
Method Details
-
isArray
-
get
-
size
-
add
-
add
-
add
-
add
-
addNull
-
addObject
-
addArray
-
set
-
remove
-
toList
-
iterator
-
equals
-
hashCode
-
toString
-