How to iterate through a list of JSON response in Bash shell (Bash/Linux/ZShell/Mac)

Ever wonder how can you iterate through a list of JSON response in a shell scripting like Bash?

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.