Jean-Paul Calderone <[email protected]> added the comment:
Notice what it does to other dict keys:
>>> simplejson.dumps({1: 1})
'{"1": 1}'
In other words, I don't think this is a bug. It's how JSON works. JSON
dict keys are strings *only*.
----------
nosy: +exarkun
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6566>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com