title: Loop thorough Json Object - JS
body: <p>I am receiving a response in json form like below. How do i loop through to display the user of person1 and person2? I keep getting undefined in my console. What am i not doing right?</p>
  
  <p><strong>data</strong></p>
  
  <pre><code> {
  "person1" :  {
  "user": "David"  ,
  
  },
  "person2" : {
   "user":  "Crave"  ,
  }
  }
  </code></pre>
  
  <p><strong>function</strong></p>
  
  <pre><code>    this.service.fetch(message){
  
        display1 = message.person1.user;
        display2 = message.person2.user;
  }
  </code></pre>