title: Angular 2 Get Values from Object
body: <p>I am trying to get value from a json url,
  i got this result:
  <a href="https://i.stack.imgur.com/iVovT.png" rel="nofollow noreferrer">Console Result</a></p>
  
  <p>How can i extract each item from this object (closePrice, price,updateTime)</p>
  
  <p>this my code:</p>
  
  <pre><code>GoldData:any;
  
  GetGoldFromJson() {
    this.http.get('http://live.alsayg.com/api/v1/gold')
    .map(res =&gt; res.json())
    .subscribe(
      data =&gt; {
      this.GoldData=data,
     console.log(this.GoldData);
      }
    );
  }
  </code></pre>