serialize a class to XML and back
Irmen de Jong
irmen.NOSPAM at xs4all.nl
Sun May 26 18:40:01 EDT 2013
On 26-5-2013 22:48, Roy Smith wrote:
> The advantage of pickle over json is that pickle can serialize many
> types of objects that json can't. The other side of the coin is that
> pickle is python-specific, so if you think you'll ever need to read your
> data from other languages, pickle is right out.
That is not entirely true :) I've written a pickle implementation for Java and .NET
that is almost feature complete; it is part of http://pythonhosted.org/Pyro4/pyrolite.html
Still, pickle may not be the best choice here.
Cheers
Irmen
More information about the Python-list
mailing list