[issue10038] Returntype of json.loads() on strings

Nik Tautenhahn report at bugs.python.org
Wed Oct 6 23:56:21 CEST 2010


Nik Tautenhahn <nik at livinglogic.de> added the comment:

Well, then at least the documentation and the "What's changed" need to be updated. Furthermore, if such decisions are made, it would be at least nice to have some general "decode-hook" for json.JSONDecoder - the "object_hook" is only used for dict-objects - why is there no hook for strings or a general hook which is used on any objects?

----------

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


More information about the Python-bugs-list mailing list