Parsing JSON in Bash is never usually the best idea but sometimes it may be necessary or preferred. Here’s a nice easy script which uses the ‘jq’ command to perform JSON parsing in Bash. Let’s imagine you have the following JSON which is outputted by a stats gathering process: {"web_rate":1,"db_rate":2,"php_rate":2} Parsing that in Bash by […]