Message269091
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. |
|
Date |
User |
Action |
Args |
2016-06-22 22:28:29 | r.david.murray | set | recipients:
+ r.david.murray, steven.daprano, berker.peksag, abarry, Daniel Ward, Ollie Ford |
2016-06-22 22:28:29 | r.david.murray | set | messageid: <1466634509.94.0.542892098255.issue27362@psf.upfronthosting.co.za> |
2016-06-22 22:28:29 | r.david.murray | link | issue27362 messages |
2016-06-22 22:28:29 | r.david.murray | create | |
|