title: Why and when do we need to flatten JSON objects?
body: <p>I am surprised that no one on StackOverflow asked this question before.</p>
  
  <p>Looking through the JSON object documentation and a quick google search did not yield satisfactory results.</p>
  
  <p>What's the advantage of it? How does it work?</p>
  
  <hr>
  
  <p>Edit: To make it clear, take a look at this flatten/un-flatten example.</p>
  
  <p><a href="https://stackoverflow.com/questions/19098797/fastest-way-to-flatten-un-flatten-nested-json-objects">Fastest way to flatten / un-flatten nested JSON objects</a></p>
  
  <p>Thank you.</p>