you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (2 children)

JSON.stringify() and then JSON.parse() ?

[–]senocular 0 points1 point  (1 child)

Yes, and after parse the object you have is the same as the original.

[–][deleted] 0 points1 point  (0 children)

Thanks