@Test public void should_Return_CurrentPath_For_Parser() throws IOException { assertThat(underTest.currentPath(), equalTo("/")); underTest.nextValue(); assertThat(underTest.currentPath(), equalTo("/")); underTest.nextValue(); assertThat(underTest.currentPath(), equalTo("/_id")); underTest.nextValue(); assertThat(underTest.currentPath(), equalTo("/user")); underTest.nextValue(); assertThat(underTest.currentPath(), equalTo("/user/description")); underTest.nextValue(); assertThat(underTest.currentPath(), equalTo("/user")); underTest.nextValue(); assertThat(underTest.currentPath(), equalTo("/")); }
public String currentPath() { return currentPath(currentPointer()); }
CurrentPathJsonParser extends JsonParserDecorator { public String currentPath() { return currentPath(currentPointer()); } }
CurrentPathJsonParser extends JsonParserDecorator { public String currentPath() { return currentPath(currentPointer()); } CurrentPathJsonParser(final JsonParser jsonParser); }
CurrentPathJsonParser extends JsonParserDecorator { public String currentPath() { return currentPath(currentPointer()); } CurrentPathJsonParser(final JsonParser jsonParser); String currentPath(); String[] currentPathInParts(); JsonPointer currentPointer(); }
CurrentPathJsonParser extends JsonParserDecorator { public String currentPath() { return currentPath(currentPointer()); } CurrentPathJsonParser(final JsonParser jsonParser); String currentPath(); String[] currentPathInParts(); JsonPointer currentPointer();  }