Thanks for your feedback! Will definitely look forward and add the missing features.
jq and JSONPath are awesome projects, and JQLite is not a replacement for existing tools, but a learning project.
jq
JSONPath
That's actually great to query JSON with SQL! But as you can see the example from DuckDB is quite complex and unreadable as well.
And I have made this project for learning purpose and to challenge myself.
However, Thanks for sharing the project.
100% agreed. It's just a learning/hobby project, to know more about parsers, and how languages work. Some of the features like Wildcard, Multiple key selection/omission comes handy, and might add more features like that.
Thanks for sharing the project! JQLite is aimed to run in browsers and node, but will definitely take inspiration from "jq".
That's a great project! JQLite is mainly focused on query-style approach. Also it's a hobby project for learning parsers and stuff.
Thanks for your suggestion! It's definitely something I'll look into.
JQLite - The query language for JSON.
Created a simple query language in Typescript.
Features:
Here's an example to get a list of all products with an average review more than 4:
$.products[?(@.reviews.#avg() > 4)]
Runs in browsers, and Node.js
Documentation site: https://jqlite.vercel.app/
GitHub: https://github.com/Jay-Karia/jqlite
NPM Package: https://www.npmjs.com/package/jqlite-ts
Data source for the query: https://jqlite.vercel.app/demo.json
Created a simple query language for JSON data.
Here's an example to get the list of adult friends:
$.friends[?(@.age >= 18)]
⭐ Leaving a star on GitHub is much appreciated!
Thanks for your feedback! Will definitely look forward and add the missing features.