Say I had the object:
var object = {
1: [2,5,"hi"],
hi: {hihi: 1}
};
How would I convert that to a string, and then back, preserving all the information? I would need this to work for a big object, with the values themselves being objects.
This is not a duplicate, the others didn't involve getting the object back.