jsonpath java code example
Example 1: jackson jsonpath
ObjectMapper mapper = new ObjectMapper();
JsonNode node = mapper.readTree(json);
JsonNode coordinatesNode = node.at("/address/coordinates");
Example 2: jsonpath xpath java
$.tool.jsonpath.creator.location[2]