On Tue, 25 Aug 2009 21:57:11 +0200, Mark S. Miller <[email protected]>
wrote:
While the JSON spec itself allows parsers to accept strings outside the
standard JSON grammar, the ES5 spec for the JSON object was carefully
constructed to give us a validating parser: one that rejects non-JSON
text.
Well, I may have suggested a change in the wrong place but the intention
was to make this legal in JSON text, not to break validation generally.
On Tue, 25 Aug 2009 22:09:54 +0200, Oliver Hunt <[email protected]> wrote:
The WebKit JSON parser does not allow this (You can test in Safari 4.0.3
or a nightly build)
Indeed. As you haven't seen any compat problems so far I'll withdraw the
suggestion and make sure we (Opera) follows the spec as-is, hopefully the
Gecko and IE teams will fix it too :)
--
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss