Learn the simple process of iterating through a JSON array in bash with the help of jq. Iterate through a JSON array using jq Scenario: You have a file named projects.json contains an array named “projects” that you want to iterate through. 1{ 2 "projects": [ 3 { 4 "name": "project 1", 5 "owner": "owner 1", 6 "id": 1, 7 "version": "2.3.0" 8 }, 9 { 10 "name": "project 2", 11 "owner": "owner 1", 12 "id": 2, 13 "version": "1.