title: Angular 2 HTTP json request giving me a weird response when trying to parse result
body: <p>So I have the http.get call working and can correctly grab data from the request:</p>
  
  <pre><code>this.http.get('https://data.cityofnewyork.us/resource/xx67-kt59.json').subscribe(data =&gt; {
        // Read the result field from the JSON response.
        console.log(data);
  
    for (let x in data) {
      console.log(x);
    }
  });
  </code></pre>
  
  <p>The console.log(data) line works successfully, it prints me out an array of th e items from the request.</p>
  
  <p>The trouble I'm having is when I try and iterate through each individually item in the JSON array.</p>
  
  <pre><code>for (let x in data) {
     console.log(x);
  }
  </code></pre>
  
  <p>Just prints me out the index/number of the item in the JSON object. Even if I try x["prop name"], it still fails.</p>
  
  <p>Even the following doesn't work:</p>
  
  <pre><code>console.log(JSON.stringify(x));
  </code></pre>
  
  <p>My goal is to eventually map these to a class I'd define and populate an array variable with that data.</p>
  
  <p>Am I being stupid in how I'd reference the JSON property for each item?</p>