Package io.micronaut.json.tree
Class JsonArray
java.lang.Object
io.micronaut.json.tree.JsonNode
io.micronaut.json.tree.JsonArray
Public to allow special handling for conversion service. Use
JsonNode.isArray()
to distinguish nodes.- Since:
- 3.1
- Author:
- Jonas Konrad
-
Method Summary
Methods inherited from class io.micronaut.json.tree.JsonNode
coerceStringValue, createArrayNode, createBooleanNode, createNumberNode, createNumberNode, createNumberNode, createNumberNode, createNumberNode, createNumberNode, createNumberNodeImpl, createObjectNode, createStringNode, from, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getNumberValue, getStringValue, isBoolean, isNull, isNumber, isObject, isString, isValueNode, nullNode
-
Method Details
-
getValue
Description copied from class:JsonNode
Get the value reprinting this node. -
size
public int size() -
isArray
public boolean isArray() -
get
-
get
-
values
-
entries
-
equals
-
hashCode
public int hashCode() -
isContainerNode
public boolean isContainerNode()- Overrides:
isContainerNode
in classJsonNode
- Returns:
true
iff this node is a container node (array or object).
-