I have an NSMutableArray filled with BeziarPaths. I’d like to serialize it so that its accessible on Python. Someone suggested to me that I can try GZIP + InkML or GZIP +JSON. I was wondering what the best way to do this is. I am also really new to this, so example code would be extremely helpful.
Thanks
Choose what you like most. Both are standards, but JSON is a generic format used for serializing dictionaries and arrays, while InkML focuses on drawing related objects.
JSON support is available in both Python and Objective-C, while InkML has no built-in support in either.