title: How to parse Json data in Ionic2 framework?
body: <p>I have received a <strong>json response</strong> from an api through ajax post call.Here is my json response</p>
  
  <p><strong>JSON Response:</strong></p>
  
  <p>{
  "s": true,
  "m":
    {
  "i": 10,
  "n": "Apple Watch",
  "p": "14000"
  }}</p>
  
  <p>Actually in my typescript code, I made an alert to display JSON response. It works well.
  When I tried to use the response values to the HTML elements. It was unsuccessful.</p>
  
  <p><strong>TypeScript</strong>:</p>
  
  <pre><code>let headers = new Headers({ 'Content-Type': 'application/json'});
  
      this.value = { 'uid': 10 };
  
      let body = JSON.stringify(this.value);
  
      this.http.post(url, body, headers)
          .map(res =&gt; res.json())
              .subscribe(
                data =&gt; {
                 alert(JSON.stringify(data));//Alert displays the response successfully 
                 this.insdata=data;     
               },
              err =&gt; {
                console.log("Oops!");                
              }
     );
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;h2&gt;{{insdata.m.n}}&lt;/h2&gt; //I cannot get the value here.
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <p><code>Runtime Error
  Error in ./HomePage class HomePage - caused by: Cannot read property 'm' of undefined</code></p>