➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients andrewchap, bob.ippolito, rhettinger
Date 2018-10-31.05:32:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1540963921.24.0.788709270274.issue35111@psf.upfronthosting.co.za>
In-reply-to
Content
> If you can serialize an object using pickle,
> why not have the ability to serialize objects using json?

One reason would be that the JSON spec was intentionally designed to handle a limited number of types so that it would have maximum interoperability between languages. Another reason is that in order to make other types round-trip between encoding and decoding, you would need to control both ends, in which case, you might as well use pickle.
History
Date User Action Args
2018-10-31 05:32:01rhettingersetrecipients: + rhettinger, bob.ippolito, andrewchap
2018-10-31 05:32:01rhettingersetmessageid: <1540963921.24.0.788709270274.issue35111@psf.upfronthosting.co.za>
2018-10-31 05:32:01rhettingerlinkissue35111 messages
2018-10-31 05:32:00rhettingercreate