" \"address\" : {\"state\" : \"Nevada\"}\n" +
" } \n" +
"]";
Filter filter = filter(
where("first-name").is("Jock")
.and("address.state").is("Texas"));
List<Map<String, Object>> jocksInTexas1 = JsonPath.read(json, "$[?]", filter);
List<Map<String, Object>> jocksInTexas2 = JsonPath.read(json, "$[?(@.first-name == 'Jock' && @.address.state == 'Texas')]");