On Jan 7, 5:26 pm, John Resig <[email protected]> wrote:
> Since we're going to be using JSON.parse, which throws an exception
> (and triggers the Ajax error handler) it should probably be consistent
> across platforms.
well it might not be consistent across platforms, since in CHROME
window.JSON.parse will happily parse "{ 'a' : 1 }" which is not
standard.
It will even parse "{ a : 1}",
and yes it will also parse this : JSON.parse('{ "document.writeln(\'!
\')" : 1 }')
That was the crux of my first post in this thread ...
--
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en.