public final class SimpleJsonTree extends BaseJsonTree
JsonTreebaseNode, 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() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
pop()
Reverts the last append
|
String |
toString() |
getCurrentNode, getCurrentPointer, popNode, popPointer, pushNode, pushPointerpublic SimpleJsonTree(JsonNode baseNode)
public void append(JsonPointer ptr)
JsonTreeptr - the pointer to appendJsonPointer.append(JsonPointer)public void pop()
JsonTreeNote: this operation will fail badly if you haven't appended anything, so use with care!
public JsonNode asJson()
public int hashCode()
hashCode in class BaseJsonTreepublic boolean equals(Object obj)
equals in class BaseJsonTreepublic String toString()
toString in class BaseJsonTreeCopyright © 2013. All Rights Reserved.