What it is
jqis a lightweight and flexible command-line JSON processor akin tosed,awk,grep, and friends for JSON data. — https://github.com/jqlang/jq
Where to find it
Source: https://github.com/jqlang/jq
Site: https://jqlang.github.io/jq/
My thoughts
Wanna feel like a wizard? A well-crafted jq invocation is nothing short of modern wizardry. You’re not just writing a command. No, no. You’re creating a spell.
Or if you just want a quick way to format some JSON, just pipe the sucker into jq and you’re set.
cat my-awful-unformated-file.json | jqI’ve used interactive JSON traversal tools such as fx, but on really long JSON files (I’m talking many megabytes), those things are slow, but jq is blazingly fast. 🔥