[issue6566] json.dumps converts None to "null" (not null)
Sridhar Ratnakumar
report at bugs.python.org
Fri Jul 24 23:17:36 CEST 2009
Sridhar Ratnakumar <sridharr at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6566>
_______________________________________
More information about the Python-bugs-list
mailing list