Class JsonPointer


  • public class JsonPointer
    extends Object
    Represents a pointer in the JSON tree structure.
    Author:
    Subhashni Balakrishnan
    • Constructor Detail

      • 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 Detail

      • tokens

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