3 ms·
jq is a fantastic tool for exploring data and doing simple transformations. I often wish it could consume/write data in other formats.
by uluyol 5y ago
jq is a fantastic tool for exploring data and doing simple transformations. I often wish it could consume/write data in other formats.
- dangerbird2 5y agoIn python-land, I like to use glom[1], which is basically jq but operating on arbitrary python data structures. I believe there are bindings for jq in python in other languages, which would allow operating on data structures, but I imagine they are just spawning jq as a subprocess, since it doesn't seem like jq has a public C api. [1] https://glom.readthedocs.io/en/latest/index.html https://glom.readthedocs.io/en/latest/index.html
- matthewtovbin 5y agoI moved to JSONata - http://docs.jsonata.org/overview.html http://docs.jsonata.org/overview.html