Class JsonPointer
- java.lang.Object
-
- com.couchbase.client.core.utils.yasjl.JsonPointer
-
public class JsonPointer extends Object
Represents a pointer in the JSON tree structure.- Author:
- Subhashni Balakrishnan
-
-
Constructor Summary
Constructors Constructor Description JsonPointer(String path, JsonPointerCB callback)
Creates a newJsonPointer
with a path and a callback.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<String>
tokens()
Returns the list of currently stored tokens.String
toString()
-
-
-
Constructor Detail
-
JsonPointer
public JsonPointer(String path, JsonPointerCB callback)
Creates a newJsonPointer
with a path and a callback.- Parameters:
path
- the path split up into tokens subsequently.callback
- the callback to use for this pointer.
-
-