Learn jq
Command-line JSON processor: query, filter and reshape JSON
jq is a small, fast command-line program and language for slicing, filtering, transforming and generating JSON. It is the standard way to read API responses, cloud CLI output and JSON logs in shell scripts and pipelines.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know