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() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
pop()
Reverts the last append
|
String |
toString() |
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 int hashCode()
hashCode
in class BaseJsonTree
public boolean equals(Object obj)
equals
in class BaseJsonTree
public String toString()
toString
in class BaseJsonTree
Copyright © 2013. All Rights Reserved.