Message219893
Wait, I read the code wrong.
You can define object_pairs_hook, and use that to return an OrderedDict. So it should be possible to do this without changing the json module itself. This is actually documented as a place to use OrderedDict. Guess I should have read the docs instead of the code :) |
|
Date |
User |
Action |
Args |
2014-06-06 16:46:49 | r.david.murray | set | recipients:
+ r.david.murray, rhettinger, pitrou, ezio.melotti, berker.peksag, Pavel.Kazlou |
2014-06-06 16:46:49 | r.david.murray | set | messageid: <1402073209.45.0.987844729232.issue21650@psf.upfronthosting.co.za> |
2014-06-06 16:46:49 | r.david.murray | link | issue21650 messages |
2014-06-06 16:46:49 | r.david.murray | create | |
|