Comment #9 on issue 1480 by [email protected]: JSON.parse exceptions should have line/char # where parse error
https://code.google.com/p/v8/issues/detail?id=1480

The security problem seems like an edge case to me. Important as that may be Node.js relies on this and it is a burden on every developer who tries to work with json files in node (everyone?). Would it be possible to add a runtime flat that shows a more descriptive error message like:

----
SyntaxError: Unexpected token c at line 3, col 0
        can't handle raw text
        ^
        at Object.parse (native):3:0
        at (d8):1:6
----

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to