Message 219893 - Python tracker
Message219893
| Author | r.david.murray |
|---|---|
| Recipients | Pavel.Kazlou, berker.peksag, ezio.melotti, pitrou, r.david.murray, rhettinger |
| Date | 2014-06-06.16:46:49 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1402073209.45.0.987844729232.issue21650@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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 :) |
|
| History | |||
|---|---|---|---|
| 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 | |