Message219142
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. |
|
Date |
User |
Action |
Args |
2014-05-26 08:00:19 | bob.ippolito | set | recipients:
+ bob.ippolito, rhettinger, pitrou, vstinner, ezio.melotti, eric.araujo, cvrebert, flox, petri.lehtinen, thinred, hac.man |
2014-05-26 08:00:19 | bob.ippolito | set | messageid: <1401091219.06.0.764471856331.issue13212@psf.upfronthosting.co.za> |
2014-05-26 08:00:19 | bob.ippolito | link | issue13212 messages |
2014-05-26 08:00:18 | bob.ippolito | create | |
|