InternalJsonPathUtils { static String fromBracketNotation(String path) { return path .replace("['", ".") .replace("']", ""); } private  InternalJsonPathUtils(); @NotNull static Configuration resolveJsonPaths(@NotNull Object json, @NotNull Configuration configuration);  }
@Test void shouldConvertFromBracketNotation() { assertThat(fromBracketNotation("$['tool']['jsonpath'][2]")).isEqualTo("$.tool.jsonpath[2]"); assertThat(fromBracketNotation("$['tool'][2]['jsonpath']")).isEqualTo("$.tool[2].jsonpath"); assertThat(fromBracketNotation("$[0][0]")).isEqualTo("$[0][0]"); }