Bob Ippolito added the comment:

As Chris Rebert mentioned, the JSON standards have adopted this (unsurprising) 
behavior. Ruby hasn't, and I doubt Crockford has, but I think they're in the 
minority at this point. JavaScript's own JSON implementation works the same way 
json/simplejson does.

> JSON.parse(JSON.stringify('yay'))
"yay"

At best, I think it's probably worth a mention in the documentation, but not 
worth changing any code over.

----------

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

Reply via email to