Record Class JsonNode.NullNode
java.lang.Object
java.lang.Record
cloud.opencode.base.json.JsonNode.NullNode
- All Implemented Interfaces:
JsonNode
- Enclosing interface:
JsonNode
Null Node - Represents a JSON null.
Null 节点 - 表示 JSON null。
- 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 TypeMethodDescriptionasString()Returns this node's value as a string.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisNull()Returns whether this node is null.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
NullNode
public NullNode()Creates an instance of aNullNoderecord class.
-
-
Method Details
-
isNull
-
asString
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-