ObjectAnimation supports saving to/from XML and JSON. However, when loaded as a resource through BeginLoad (e.g. through the ResourceCache), it will only load it as XML, even if you pass a JSON file. It should instead check the filename extension to deduce whether it is xml or json (or maybe even the content).
ObjectAnimation
supports saving to/from XML and JSON. However, when loaded as a resource throughBeginLoad
(e.g. through theResourceCache
), it will only load it as XML, even if you pass a JSON file. It should instead check the filename extension to deduce whether it is xml or json (or maybe even the content).