Browse Source

Update README.md

pull/91/head
kallestenflo 10 years ago
parent
commit
7ffa115ce8
  1. 3
      README.md

3
README.md

@ -228,7 +228,8 @@ Filter cheapFictionFilter = filter(
where("category").is("fiction").and("price").lte(10D)
);
List<Map<String, Object>> books = parse(json).read("$.store.book[?]", cheapFictionFilter);
List<Map<String, Object>> books =
parse(json).read("$.store.book[?]", cheapFictionFilter);
```
Notice the placeholder `?` for the filter in the path. When multiple filters are provided they are applied in order where the number of placeholders must match

Loading…
Cancel
Save