title: getting all the values of an array with jq
body: <p>I parse a json file with jq:</p>
  
  <pre><code>jq .response[1].text file.json
  </code></pre>
  
  <p>It works fine, but each time I have to enter the number .response[2].text, .response[3].text etc. I want to get all the values at once (200 values)</p>
  
  <p>But when I do:</p>
  
  <pre><code>jq .response[].text file.json
  </code></pre>
  
  <p>It gives an error: Cannot index number with string "text"</p>
  
  <p>The file looks like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>{
    "response": [
      1000,
      {
        "id": ,
        "date": ,
        "owner_id": ,
        "from_id": ,
        "post_type": "post",
        "text": "blabla",
        "attachment": {
          "type": "photo",
          "photo": {
            "pid": ,
            "aid": -7,
            "owner_id": 
          }
        },
        "attachments": [
          {
            "type": "photo",
            "photo": {
            }
          },
          {
            "type": "link",
            "link": {
              "url": "",
              "title": "",
              "description": "",
              "target": "external"
            }
          }
        ],
        "post_source": {
          "type": "vk"
        },
        "comments": {
          "count": 0,
          "groups_can_post": true,
          "can_post": 1
        },
      },
      {
        "id": ,
        "date": ,
        "owner_id": ,
        "from_id": ,
        "post_type": "post",
        "text":    "blabla",
        "attachment": {
          "type": "link",
          "link": {
            "url": "",
            "title": "",
            "description": "",
            "target": "external",
            "
          }</code></pre>
  </div>
  </div>
  </p>