What does HackerNews think of rq?
Record Query - A tool for doing record analysis and transformation
[1] https://github.com/dflemstr/rq [2] https://news.ycombinator.com/item?id=13090604
I actually collected a sizable list of alternatives to Jq:
https://github.com/TomConlin/json2xpath
https://github.com/antonmedv/fx
https://github.com/jmespath/jp
https://github.com/borkdude/jet
https://github.com/jzelinskie/faq
https://github.com/dflemstr/rq
And there's someone else's list of stuff around Jq: https://github.com/fiatjaf/awesome-jq
However, personally I think that next time I might instead fire up Hy, and use the regular syntax with the functional approach for any convoluted processing I come up with. Last time I mentioned this, another HNer made a Jq-like tool with Lisp-like syntax: https://github.com/cube2222/jql (from https://news.ycombinator.com/item?id=21981158).
https://github.com/fiatjaf/awesome-jq
https://github.com/TomConlin/json2xpath
https://github.com/antonmedv/fx
https://github.com/fiatjaf/jiq
https://github.com/jmespath/jp
https://github.com/cube2222/jql
https://github.com/borkdude/jet
https://github.com/jzelinskie/faq
https://github.com/dflemstr/rq
Personally I think that next time I might just fire up Hy and use its functional capabilities.
For those that deal with this sort of thing often, here are some similarly useful tools:
⠀
Really useful for generating table definitions and/or importing data from a csv to a variety of databases (bunch of other useful utilities in the repo as well): https://csvkit.readthedocs.io/en/latest/scripts/csvsql.html
Similar to cq for querying a CSV file directly: http://harelba.github.io/q/
Not used often, but really handy when you come across a csv file it's designed for: http://colin.maudry.com/csvtool-manual-page/
Diff csv files: http://paulfitz.github.io/daff/
Can convert flatfiles between a bunch of different formats. Useful blunt tool to get things to and from csv files (among others): https://github.com/dflemstr/rq
And for searching JSON: jq: https://stedolan.github.io/jq/ gron: https://github.com/tomnomnom/gron
Or use in2csv from csvkit or rq to get the JSON over to CSV and go from there.
jq but supports avro, messagepack, protocol buffers, etc.
- rq: A tool for doing record analysis and transformation (replacement for jq, supports yaml, json, avro, protocol buffers, etc.) https://github.com/dflemstr/rq
Not limited to JSON, and super fast.