HTML5 in AppGameKit does not allow multi line cookies to be exported and saved as a shared variable. I do not know the reason for this, but had to use JSON with HTML5 for my latest project. You are not allowed any whitespace, so unfortunately
you can't use spaces in your JSON data itself. That's the only limitation I am aware of.
Besides:
- make sure your JSON file is below 4096 bytes, this is the general cookie size limit
- strip your JSON export from all CHR(10)
- strip your JSON export from all ""
json = myArray.toJSON()
strip1 = StripString(json,chr(10))
saveString = StripString(strip1,"")
SaveSharedVariable("myCoolSaveCookie",saveString)