public class JSONPathQuery extends PathQuery<JSONResource,Object>
store.book[price>7 && price<12.999].author
In the example above the JSON object with a prive value between 7 and 12.999 is selected and the author returned. Boolean expressions are supported with && (and), || (or), ! (not). Values can be compared with =,<,>.
| Constructor and Description |
|---|
JSONPathQuery(String anExpression) |
| Modifier and Type | Method and Description |
|---|---|
protected JSONPathCompiler |
getCompiler() |
public JSONPathQuery(String anExpression)
protected JSONPathCompiler getCompiler() throws ParseException
ParseException