[docs] [issue18820] json.dump() ignores its 'default' option when serializing dictionary keys

Serhiy Storchaka report at bugs.python.org
Fri Apr 8 07:01:10 EDT 2016


Serhiy Storchaka added the comment:

See also

https://github.com/simplejson/simplejson/issues/42
https://github.com/simplejson/simplejson/issues/100
https://github.com/simplejson/simplejson/issues/103

And allowing non-string keys leads to other issue:

https://github.com/simplejson/simplejson/issues/77

Thus there is an argument for disallowing serializing non-string keys.

----------
nosy: +bob.ippolito, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18820>
_______________________________________


More information about the docs mailing list