code: public JsonPath build(String path) {
  		String[] pathElements = splitPath(path);
  		if (pathElements.length == 0 || (pathElements.length == 1 && "".equals(pathElements[0]))) {
  			LOGGER.debug("requested root path: {}", path);
  			return null;
  		}
  		return parseResourcePath(new LinkedList<>(Arrays.asList(pathElements)));
  	}
docs: Parses path provided by the application. The path provided cannot contain neither hostname nor protocol. It
  can start or end with slash e.g. <i>/tasks/1/</i> or <i>tasks/1</i>.
  
  @param path Path to be parsed
  @return doubly-linked list which represents path given at the input