Skip to content

A structured query language for querying / filtering JSON documents, expressed in JSON

Notifications You must be signed in to change notification settings

clue/json-query-language

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

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:

About

A structured query language for querying / filtering JSON documents, expressed in JSON

Resources

Stars

Watchers

Forks

Packages

No packages published