Ezio Melotti added the comment:

I missed this comment from Serhiy:

> There are too many cases where json and Python syntax differ.

How many differences there are between the two?
I think we might add notes to the table at 
http://docs.python.org/3/library/json.html#encoders-and-decoders (either 
something similar to the notes in the table at 
http://docs.python.org/3/library/stdtypes.html#mutable-sequence-types, or just 
a couple of lines in a third column).  If there are too many differences and we 
follow the specs we can just add a note saying that the decoding is done 
according to the specs, add a link to them, and mention a few examples that are 
valid in Python but not in JSON (like Serhiy did in his message).

----------
keywords: +easy
nosy: +terry.reedy

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19871>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to