public final class SimpleJsonTree extends BaseJsonTree
JsonTree
baseNode, currentNode, currentPointer, FACTORY, nodeStack, pointerStack
Constructor and Description |
---|
SimpleJsonTree(JsonNode baseNode) |
Modifier and Type | Method and Description |
---|---|
void |
append(JsonPointer ptr)
Append a JSON Pointer to the current path
|
JsonNode |
asJson() |
void |
pop()
Reverts the last append
|
String |
toString() |
getBaseNode, getCurrentNode, getCurrentPointer, popNode, popPointer, pushNode, pushPointer
public SimpleJsonTree(JsonNode baseNode)
public void append(JsonPointer ptr)
JsonTree
ptr
- the pointer to appendJsonPointer.append(JsonPointer)
public void pop()
JsonTree
Note: this operation will fail badly if you haven't appended anything, so use with care!
public JsonNode asJson()
public String toString()
toString
in class BaseJsonTree
Copyright © 2013. All Rights Reserved.