title: JSON QUERY parse tip
body: <p>just want to get some expert tips on you on how to grab only this from AutoScalingGroups:</p>
  
  <blockquote>
    <p>awseb-e-ASG</p>
  </blockquote>
  
  <p>Actual JSON Output</p>
  
  <pre><code>{
  "EnvironmentResources": {
      "EnvironmentName": "MY-APP",
      "AutoScalingGroups": [
          {
              "Name": "awseb-e-ASG"
          }
      ],
      "Triggers": [],
      "LoadBalancers": [
          {
              "Name": "awseb-e-ELB"
          }
      ],
      "Queues": [],
      "Instances": [
          {
              "Id": "i-XXXXXXXXXXXXXXXd"
          }
      ],
      "LaunchConfigurations": [
          {
              "Name": "awseb-e-LAUNCH"
          }
      ]
  }
  }
  </code></pre>
  
  <p>I tried several commands but only getting this:</p>
  
  <pre><code>jq -r ".EnvironmentResources.LaunchConfigurations"
  
  [
   {
    "Name": "awseb-e-ASG"
   }
  ]
  
  
  jq -r ".EnvironmentResources.LaunchConfigurations.Name"
  jq: error: Cannot index array with string
  </code></pre>