com.github.fge.jsonschema.core.tree
Class SimpleJsonTree
java.lang.Object
com.github.fge.jsonschema.core.tree.BaseJsonTree
com.github.fge.jsonschema.core.tree.SimpleJsonTree
- All Implemented Interfaces:
- JsonTree, SimpleTree, AsJson
@Immutable
public final class SimpleJsonTree
- extends BaseJsonTree
A simple JsonTree
SimpleJsonTree
public SimpleJsonTree(JsonNode baseNode)
append
public SimpleJsonTree append(JsonPointer pointer)
- Description copied from interface:
JsonTree
- Append a JSON pointer to that tree and return a new tree
- Parameters:
pointer - the pointer
- Returns:
- a new tree, with the pointer appended to the current pointer
asJson
public JsonNode asJson()
- Description copied from interface:
AsJson
- Return a JSON representation of this object
- Returns:
- a
JsonNode
toString
public String toString()
- Specified by:
toString in class BaseJsonTree