title: JSON stringify skip nested object which has more than 3 levels
body: <p>I wanted to store the object in local storage and I serialized the object using JSON.stringify. Then some of the inner attributes are missing after parse using JSON.parse.</p>
  <p>I attached 2 images below to see the changes and appreciate it if anyone can answer a better solution for this. Thanks.</p>
  <p><em><strong>This object is just before stringified using JSON</strong></em>.</p>
  <p><a href="https://i.stack.imgur.com/nIDXo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nIDXo.png" alt="enter image description here" /></a></p>
  <p><em><strong>This object is stringified and parse using JSON</strong></em></p>
  <p><a href="https://i.stack.imgur.com/80GOq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/80GOq.png" alt="enter image description here" /></a></p>
  <p>This is how i store and retreive data</p>
  <p><a href="https://i.stack.imgur.com/S5nJ7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S5nJ7.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/m5Zog.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m5Zog.png" alt="enter image description here" /></a></p>