From ec3a79eb77a8e260bda032d909e24b532a0d8390 Mon Sep 17 00:00:00 2001 From: Ari Fogel Date: Wed, 30 Nov 2016 12:01:34 -0800 Subject: [PATCH] updated documentation for ! filter predicate --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 50e248ca..2d5fad99 100644 --- a/README.md +++ b/README.md @@ -256,6 +256,8 @@ List> books = JsonPath.parse(json) You can use `&&` and `||` to combine multiple predicates `[?(@.price < 10 && @.category == 'fiction')]` , `[?(@.category == 'reference' || @.price > 10)]`. +You can use `!` to negate a predicate `[?(!(@.price < 10 && @.category == 'fiction'))]`. + ###Filter Predicates Predicates can be built using the Filter API as shown below: