How to iterate JSON objects with JSON objects in every object (JavaScript)?
<p>I have multiple JSON objects which are have multiple JSON objects.
Now how do i iterate the Objects in deep.</p>

<p>My JSON structure is like below. </p>

<pre><code>{
  "phanim": {
    "msg1": {
      "data": "Hii ra..",
      "date": "Sep 9",
      "sender": "Phani",
      "type": "text"
    },
    "msg2": {
      "data": "How r u?",
      "date": "Sep 9",
      "sender": "Phani",
      "type": "text"
    }
  }
}
</code></pre>