- All Known Implementing Classes:
JacksonNode
interface Node
A node representing a JSON structure.
This class is a Pioneer abstraction which allows using different JSON parsers.
-
Method Summary
-
Method Details
-
isArray
boolean isArray()- Returns:
trueif the node represents an array of other nodes
-
elements
- Returns:
- all the elements of this potential array node
-
toType
Convert this node into the requestedtype- Type Parameters:
T- the type- Parameters:
type- the type into which this node needs to be converted- Returns:
- the converted type
-
getNode
Get the node value with the given name.- Parameters:
name- the name of the node- Returns:
- the node for the given name
-
value
Get the value of the node.- Parameters:
typeHint- the potential type of the value- Returns:
- the node value
-