title: Iterating through JSON array in Shell script
body: <p>I have a JSON data as follows in data.json file</p>
  
  <pre><code>[
    {"original_name":"pdf_convert","changed_name":"pdf_convert_1"},
    {"original_name":"video_encode","changed_name":"video_encode_1"},
    {"original_name":"video_transcode","changed_name":"video_transcode_1"}
  ]
  </code></pre>
  
  <p>I want to iterate through the array and extract the value for each element in a loop. I saw <a href="https://stedolan.github.io/jq/manual/" rel="noreferrer">jq</a>. I find it difficult to use it to iterate. How can I do that?</p>