Serhiy Storchaka added the comment:
There are too many cases where json and Python syntax differ. Final comma("[1,
2,]"), non-string keys ({1: 2}), tuples ("(1, 2)"), leading zeros ("0001"),
hexadecimal integers ("0xaf"), escapes of astral characters('"\U0001d504"'),
single quotes ("'spam'"), octal escape codes ("\015"), etc, etc...
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19871>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com