SyntaxFix
Write A Post
Hire A Developer
Questions
In node, you can just say
console.log(aa)
and it will format it as it should.
If you need to use the resulting string you should use
JSON.stringify(aa)