What's the best way to store this:
var mydata = [{'11 Alveston Road, Manchester':1},
{'12 Plymouth Street, Liverpool':2}];
in a cookie to retrieve later?
I can obviously simply turn it all into a text string, and add some symbols as delimiters (hoping that those symbols don't occur anywhere in the data values), but it seems a bit hacky!
Also I'd like to avoid the jQuery cookie plugin etc if possible - I'm working in mobile, and each extra file call is a performance hit.
Thanks!