query-json
Faster, simpler and more portable implementation of `jq` in Reason (by davesnx)
yojson
Low-level JSON parsing and pretty-printing library for OCaml (by ocaml-community)
Our great sponsors
query-json | yojson | |
---|---|---|
4 | 1 | |
588 | 309 | |
- | 1.9% | |
3.8 | 6.8 | |
18 days ago | 4 months ago | |
Reason | OCaml | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
query-json
Posts with mentions or reviews of query-json.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-21.
-
Gojq: Pure Go Implementation of Jq
It's very possible it could be faster; jq seems to actually be fairly unoptimized. This implementation in OCaml was featured on HN a while back and it trashes the original jq in performance: https://github.com/davesnx/query-json
After seeing that one I did my own (less-complete) version in Rust and managed to squeeze out even more performance: https://github.com/brundonsmith/jqr
-
query-json: A story of cross-compilation with Reason
query-json is a faster and simpler re-implementation of jq's language in Reason.
There're probably better ways of achieving it since I made the implementation very unsafe davesnx/query-json/js/Js.re.
You can see more examples in the parsing tests
yojson
Posts with mentions or reviews of yojson.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-10-12.
-
query-json: A story of cross-compilation with Reason
js_of_ocaml is a compiler that can be plugged to the OCaml's one and It makes it possible to run pure OCaml programs into JavaScript. As you can see, query-json uses menhir, sedlex and yojson
What are some alternatives?
When comparing query-json and yojson you can also consider the following projects:
js_of_ocaml - Compiler from OCaml to Javascript.
otoml - TOML parsing, manipulation, and pretty-printing library for OCaml (fully 1.0.0-compliant)
bs-json - Compositional JSON encode/decode library for BuckleScript
jsoo-react - js_of_ocaml bindings for ReactJS. Based on ReasonReact.
pq - Like jq, but with Python
tylr - a tiny tile-based editor
sedlex - An OCaml lexer generator for Unicode
hashmap - A Golang lock-free thread-safe HashMap optimized for fastest read access.
bs-emotion - BuckleScript bindings to Emotion
gojq - Pure Go implementation of jq