title: How to print specific data attribute in JSON response object
body: <p>How to print specific data attribute in JSON response</p>
  
  <p>I get respose like this.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>ionViewDidLoad() {
    
      console.log('ionViewDidLoad SonglistPage');
      this.eid = this.backendprovider.getEventID();
      console.log('eventID');
      console.log(this.eid);
      this.backendprovider.sendEventID(this.eid).subscribe((songs) =&gt; {
        this.songslist = songs;
        
      });
  
    }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to print the title of songs object. please help me. Thanks </p>
  
  <p>This is what I tried. But it prints all the object data</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> const myObjStr = JSON.stringify(songs);
   console.log(myObjStr);</code></pre>
  </div>
  </div>
  </p>
  
  <p>Print Output:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>[{"id":{"timestamp":1518586352,"machineIdentifier":3380871,"processIdentifier":5056,"counter":16748217,"time":1518586352000,"date":1518586352000,"timeSecond":1518586352},"songId":1,"title":"Somebody's Me","artist":"Enrique Iglesias","genre":"Jazz"}]</code></pre>
  </div>
  </div>
  </p>