{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"Tech Stories Tech Brief By HackerNoon","title":"Converting Nested Objects to Flat Objects in JavaScript: A Quick Guide","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/0b62ffe2\"></iframe>","width":"100%","height":180,"duration":123,"description":"\n        This story was originally published on HackerNoon at: https://hackernoon.com/converting-nested-objects-to-flat-objects-in-javascript-a-quick-guide.\n             Converting Nested Objects to Flat Objects in JavaScript. \n            Check more stories related to tech-stories at: https://hackernoon.com/c/tech-stories.\n            You can also check exclusive content about #object, #flat-object, #javascript, #javascript-guide, #nested-objects, #arrays, #java-guide, #hackernoon-top-story,  and more.\n            \n            \n            This story was written by: @sirius93. Learn more about this writer by checking @sirius93's about page,\n            and for more stories, please visit hackernoon.com.\n            \n                \n                \n                I am sure you have been asked this question in one of the interviews. It looks simple at first. But the interviewer is actually checking whether you understand recursion, objects, and how JavaScript treats arrays. So, basically, you are given a nested object, and you are expected to simplify it by removing the nesting and printing it in a non-nested format.\n        \n        ","thumbnail_url":"https://img.transistorcdn.com/IuqXIpaNNuezY7jNfIDnL5gqB1iL_SEndwUUzLGdljY/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzQxNDI5LzE2ODM1/ODM0NjQtYXJ0d29y/ay5qcGc.webp","thumbnail_width":300,"thumbnail_height":300}