SyntaxFix
Write A Post
Hire A Developer
Questions
You know what JSON stands for? JavaScript Object Notation. It makes a pretty good format for objects.
JSON.stringify(obj) will give you back a string representation of the object.
JSON.stringify(obj)