Storing large JS objects in JSON?

    Jun 17 2013 | 11:32 pm
    I'm working on a project that makes heavy use of very large JS objects. I'd prefer to write these to JSON for saving/loading projects within the patch but am running up against the 32768 character limit in Max.
    My next thought is to write a custom serializer that exports to a text file but wanted to see if anyone has a clever way of getting around the character limit before I start down that path in earnest.
    Thanks in advance.

    • Jun 18 2013 | 5:04 pm
      I'd suggest using the readline/writeline methods to write one line at a time in such an instance.
    • Jun 18 2013 | 6:43 pm
      Thank you for the reply. Searching the readline/writeline methods in the forums turned up a solution I hadn't found in previous searches.