How to iterate through a list of JSON response in Bash shell (Bash/Linux/ZShell/Mac)
3 min readNov 8, 2021
I was writing a Bash shell script file that needs to query an URL endpoint with a curl, which then returns a JSON object response. One thing I had to do it to extract a list of all “name” values from the JSON object looking like one below.