Sridhar Ratnakumar <sridh...@activestate.com> added the comment: > JSON dict keys are strings *only*.
I might be helpful to point this out (along with other caveats) in the standard library documentation for JSON. An explicit mention of ``loads(dumps(x)) != x for certain structures`` would be nice. I, sir, was genuinely surprised to discover this. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6566> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com