@Test public void hashResolvesToRoot() { ObjectNode root = new ObjectMapper().createObjectNode(); root.set("child1", root.objectNode()); root.set("child2", root.objectNode()); root.set("child3", root.objectNode()); assertThat((ObjectNode) resolver.resolve(root, "#", "#/."), is(sameInstance(root))); }
public JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters) { return resolve(tree, new ArrayList<>(asList(split(path, refFragmentPathDelimiters)))); }
FragmentResolver { public JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters) { return resolve(tree, new ArrayList<>(asList(split(path, refFragmentPathDelimiters)))); } }
FragmentResolver { public JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters) { return resolve(tree, new ArrayList<>(asList(split(path, refFragmentPathDelimiters)))); }  }
FragmentResolver { public JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters) { return resolve(tree, new ArrayList<>(asList(split(path, refFragmentPathDelimiters)))); }  JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters); }
FragmentResolver { public JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters) { return resolve(tree, new ArrayList<>(asList(split(path, refFragmentPathDelimiters)))); }  JsonNode resolve(JsonNode tree, String path, String refFragmentPathDelimiters);  }