jq cookbook

Merging JSON files recursively in the command-line

Have you ever need to merge two (or more) JSON files and you wondered if you can do it in the command-line? In this blog post, I will show you how you can use jq command-line JSON processor to merge recursively multiple JSON files.

How to convert JSON to CSV from the command-line?

Are you looking for an easy and fast way to convert a JSON file to a CSV one? In this blog post, I will show you how you can use jq command-line tool to do exactly that.

Parsing JSON in command-line with jq: basic filters and functions (part 1)

Have you ever wondered, what is the most convenient way to parse JSON data in the Unix/Linux command line? For instance, how to parse some information from the curl JSON response? Grep? No, thank you. There is a better tool for that. And it’s called jq.

Related YouTube videos