Status: New
Owner: ----
New issue 616 by [email protected]: JSON.parse doesn't accept strings
contain new lines
http://code.google.com/p/v8/issues/detail?id=616
It seems that JSON.parse doesn't accept strings contain new lines (\n or \r)
although the JSON standard allows that (AFAIK).
For example:
JSON.parse('{ "key": "a\nb" }');
> Firefox: OK.
> Chrome: "SyntaxError: Unexpected token ILLEGAL".
Browser info:
Chrome: 5.0.322.2
V8: 2.1.0.1
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev