Using jq for manipulating json in command line (updated regularly)

2020, Apr 25    

jq is a really handy command line tool to manipulate json files on the fly in the command line.

In this post I will keep updating the useful tricks I learnt about jq.

Counting number of items in a json file

jq length filename.json