Using bash, i'm calling an API using curl and storing the result in a variable. That result is an array. An example of the structure of the response is below.
[
{"id":1,"name":"this is the name","description":"this is the description"},
{"id":2,"name":"this is the name","description":"this is the description"},
{"id":3,"name":"this is the name","description":"this is the description"}
]
I want to be able to iterate through and get the value of "id". Then use that id as part of another curl call. How could I achieve this using bash?