json-query-language
json-query-language copied to clipboard
A structured query language for querying / filtering JSON documents, expressed in JSON
JSON Query Language
A simple query language that can be expressed as simple JSON strings. Beta draft.
- Simple to write and produce
- Simple to consume, parse and evaluate
- Lightweight and open
Examples
Match users with the given properties:
{ "age": 20, "registered": true }
Match users with the "country" property set to any in the list:
{ "country": ["BE", "NL"] }
Match users with IDs below 100:
{ "id": { "$lt": 100 }}
Syntax definition
See syntax definition.
License
MIT, see LICENSE file.
Acknowledgements, heavily inspired by: