[issue6566] json.dumps converts None to "null" (not null)
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>
More information about the Python-bugs-list