- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
Open
Labels
dtocean-coreRelated to the dtocean-core moduleRelated to the dtocean-core module
Milestone
Description
Switch from using pickle to serialize objects in datastates to using JSON.
The issue with serializing objects directly is that there are no guarantees for compatibility with future versions of the objects. Using JSON and a compatibility version tag can ensure backwards compatibility with future releases.
Requires toJSON and fromJSON methods for all structure objects in dtocean-core and some method to handle versions - maybe an attribute with the latest version and an input to specify particular versions for fromJSON.
Metadata
Metadata
Assignees
Labels
dtocean-coreRelated to the dtocean-core moduleRelated to the dtocean-core module
Type
Projects
Status
Backlog