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 Details

    • JsonPointer

      public JsonPointer​(String path, JsonPointerCB callback)
      Creates a new JsonPointer with a path and a callback.
      Parameters:
      path - the path split up into tokens subsequently.
      callback - the callback to use for this pointer.
  • Method Details

    • tokens

      protected List<String> tokens()
      Returns the list of currently stored tokens.
      Returns:
      the list of tokens.
    • toString

      public String toString()
      Overrides:
      toString in class Object