jq Joy: Converting JSON to CSV
As mentioned in the previous blog posts from MrHaki jq
is a powerful tool to work with JSON from the command-line.
The power of jq
can also be leveraged to extract data from a JSON structure and export it to CSV.
To illustrate this, we use the public Open Library Api found in this extensive overview of Public APIs.