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 |
---|---|
com.fasterxml.jackson.databind.JsonNode |
getBaseNode()
Return the node this tree was created with
|
com.fasterxml.jackson.databind.JsonNode |
getNode()
Get the node at the current path
|
com.github.fge.jackson.jsonpointer.JsonPointer |
getPointer()
Get the current path into the document
|
com.fasterxml.jackson.databind.JsonNode getBaseNode()
Note: in current Jackson versions, this node is unfortunately mutable, so be careful...
com.github.fge.jackson.jsonpointer.JsonPointer getPointer()
com.fasterxml.jackson.databind.JsonNode getNode()
MissingNode
if there is no matching
node at that pointer)Copyright © 2016. All rights reserved.