Storing instances using jsonpickle

Josh English Joshua.R.English at
Wed Sep 3 22:32:12 CEST 2014

I am using jsonpickle to store instances of an object into separate data files.

If I make any changes to the original class definition of the object, when I recreate my stored instances, they are recreated using the original class definition, so any new attributes, methods, or properties, are lost.

I think this is happening because JSON is internalizing the class definition, ignoring the updates. Is this true? Is it possible to refresh JSON's knowledge of a class?

More information about the Python-list mailing list