title: Get specific value from json data in store in variable in Angular 2
body: <p>I am trying to get specific value from json data </p>
  
  <h2>Api</h2>
  
  <pre><code>approvalPendingRequest(id) {
      return this.http.get('https://localhost:44300/api/apis/GetSubscriptionById/'+ id)
          .subscribe(
          data =&gt; this._data = data.json(),
          err =&gt; this.logError(err),
          () =&gt; console.log()
          );
  }
  </code></pre>
  
  <h2>detail</h2>
  
  <p>It return data in following formatfrom following I want to save ProductId in a variable ansd then use it.</p>
  
  <h2>Image</h2>
  
  <p><a href="https://i.stack.imgur.com/FRR3h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FRR3h.png" alt="enter image description here"></a></p>