- See this SO answer: https://stackoverflow.com/a/2614874/1060341 - - It has a simple solution like `JSON.stringify(jsObj, null, 4);`