Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46150

Re: serialize a class to XML and back

From Roy Smith <roy@panix.com>
Newsgroups comp.lang.python
Subject Re: serialize a class to XML and back
Date 2013-05-26 20:39 -0400
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <roy-2C62C9.20390126052013@news.panix.com> (permalink)
References <519DF151.1080405@globe.de> <mailman.2197.1369600623.3114.python-list@python.org> <roy-D5172C.16482026052013@news.panix.com> <51a28f42$0$15870$e4fe514c@news.xs4all.nl>

Show all headers | View raw


In article <51a28f42$0$15870$e4fe514c@news.xs4all.nl>,
 Irmen de Jong <irmen.NOSPAM@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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: serialize a class to XML and back Chris Rebert <clp2@rebertia.com> - 2013-05-26 13:36 -0700
  Re: serialize a class to XML and back Roy Smith <roy@panix.com> - 2013-05-26 16:48 -0400
    Re: serialize a class to XML and back Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-05-27 00:40 +0200
      Re: serialize a class to XML and back Roy Smith <roy@panix.com> - 2013-05-26 20:39 -0400
        Re: serialize a class to XML and back Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-05-27 20:45 +0200
    Re: serialize a class to XML and back Schneider <js@globe.de> - 2013-05-31 13:21 +0200

csiph-web