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 r.david.murray
Recipients Daniel Ward, Ollie Ford, abarry, berker.peksag, r.david.murray, steven.daprano
Date 2016-06-22.22:28:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466634509.94.0.542892098255.issue27362@psf.upfronthosting.co.za>
In-reply-to
Content
Pretty much any project that makes non-trivial use of json ends up implementing a jsonification protocol, usually by creating either a __json__ method or (more commonly, I think) a to_json method.

But, yeah, this is python-ideas material and would get into the stdlib only as an officially blessed protocol, in which case using __json__ would make sense.  So I'm going to close the issue pending a consensus on python-ideas.  If it gets accepted the issue can be reopened.
History
Date User Action Args
2016-06-22 22:28:29r.david.murraysetrecipients: + r.david.murray, steven.daprano, berker.peksag, abarry, Daniel Ward, Ollie Ford
2016-06-22 22:28:29r.david.murraysetmessageid: <1466634509.94.0.542892098255.issue27362@psf.upfronthosting.co.za>
2016-06-22 22:28:29r.david.murraylinkissue27362 messages
2016-06-22 22:28:29r.david.murraycreate