public interface SimpleTree extends AsJson
This is a JsonNode
with an internal path represented as a JsonPointer
. The current path and node are retrievable. If the current
pointer points to a non existent path in the document, the retrieved node is
a MissingNode
.
JsonPointer
Modifier and Type | Method and Description |
---|---|
JsonNode |
getBaseNode()
Return the node this tree was created with
|
JsonNode |
getNode()
Get the node at the current path
|
JsonPointer |
getPointer()
Get the current path into the document
|
JsonNode getBaseNode()
Note: in current Jackson versions, this node is unfortunately mutable, so be careful...
JsonPointer getPointer()
JsonNode getNode()
MissingNode
if there is no matching
node at that pointer)