[EMAIL PROTECTED] a écrit :
    Bruno> Most of the time, you want to serialize the instance's __dict__.

Does it recreate an instance at the other end or just a dict?

If you serialize a dict, you'll obviously get a dict back. Note that the point of json is *not* to replace pickle. json is a *data* serialization format meant to represent "basic" types (dicts, lists, strings and numbers) in human readable and (mostly) language-agnostic way. If you want a Python object store, you'll be better looking at ZODB, Durus or friends.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to