Serialization

Workflow has several methods for storing persistent data to your workflow’s data and cache directories. By default these are stored as Python pickle objects using CPickleSerializer (with the file extension .cpickle).

You may, however, want to serialize your data in a different format, e.g. JSON, to make it user-readable/-editable or to interface with other software, and the SerializerManager and data storage/caching APIs enable you to do this.

For more information on how to change the default serializers, specify alternative ones and register new ones, see Persistent data and Serialization of stored/cached data in the User Manual.

API