serialize a class to XML and back
Roy Smith
roy at panix.com
Sun May 26 20:39:01 EDT 2013
In article <51a28f42$0$15870$e4fe514c at news.xs4all.nl>,
Irmen de Jong <irmen.NOSPAM at xs4all.nl> wrote:
> 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
Very cool
> Still, pickle may not be the best choice here.
Perhaps not, but lots of points for the awesomeness factor.
More information about the Python-list
mailing list