title: Convert a JSON array to a bash array of strings
body: <p>How do I parse a json array of objects to a bash array with those objects as strings?</p>
  
  <p>I am trying to do the following:</p>
  
  <pre><code>CONVO=$(get_json_array | jq '.[]')
  for CONVERSATION in $CONVERSATIONS
  do
      echo "${CONVERSATION}"
  done
  </code></pre>
  
  <p>But the echo prints out lines instead of the specific objects.
  The format of the object is:</p>
  
  <pre><code>{ "key1":"value1", "key2": "value2"}
  </code></pre>
  
  <p>and I need to pass it to an api:</p>
  
  <pre><code>api_call '{ "key1":"value1", "key2": "value2"}'
  </code></pre>