Browse Source

updated documentation for ! filter predicate

pull/283/head
Ari Fogel 8 years ago
parent
commit
ec3a79eb77
  1. 2
      README.md

2
README.md

@ -256,6 +256,8 @@ List<Map<String, Object>> books = JsonPath.parse(json)
You can use `&&` and `||` to combine multiple predicates `[?(@.price < 10 && @.category == 'fiction')]` , You can use `&&` and `||` to combine multiple predicates `[?(@.price < 10 && @.category == 'fiction')]` ,
`[?(@.category == 'reference' || @.price > 10)]`. `[?(@.category == 'reference' || @.price > 10)]`.
You can use `!` to negate a predicate `[?(!(@.price < 10 && @.category == 'fiction'))]`.
###Filter Predicates ###Filter Predicates
Predicates can be built using the Filter API as shown below: Predicates can be built using the Filter API as shown below:

Loading…
Cancel
Save