Hi,

at the moment I am learning  to implement a Sugar activity. In the
Sucrose 0.84 release notes
http://wiki.sugarlabs.org/go/DevelopmentTeam/Release/Releases/Sucrose/0.84#What_is_new_for_developers
there is a short paragraph about serializing and de-serializing a
Python object structure.
Should I use cjson for saving the state of my activity?
Where can I find sample code?

In a former project (outside of Sugar) I used pickle for object
serializing and de-serializing. Is better for compatibility to use
cjson instead of pickle? One advantage of json is its human readable
output. But why is object serializing not done in XML?

best regards
Thomas

-- 
http://nostalghia.users.sourceforge.net/
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to