Class JsonNode.ObjectNode
java.lang.Object
cloud.opencode.base.json.JsonNode.ObjectNode
- All Implemented Interfaces:
JsonNode
- Enclosing interface:
JsonNode
Object Node - Represents a JSON object.
对象节点 - 表示 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets a child node by property name (for objects).booleanReturns whether this node has a property (for objects).inthashCode()booleanisObject()Returns whether this node is an object.keys()Returns the property names (for objects).intsize()Returns the number of children (for objects/arrays).toMap()toString()
-
Constructor Details
-
ObjectNode
public ObjectNode()
-
-
Method Details
-
isObject
-
get
-
has
-
keys
-
size
-
put
-
put
-
put
-
put
-
putNull
-
putObject
-
putArray
-
remove
-
toMap
-
equals
-
hashCode
-
toString
-