There are problems parsing the \n in the string. The string is produce
by a PHP json_encode() function and http://jsonlint.com/ finds the
json being perfectly valid.

In the console I entered:

window.JSON.parse('{"message":"CODE:0\nArray"}');

and I receive the error:

SyntaxError: JSON.parse: unexpected non-whitespace character after
JSON data
data:,with(_FirebugCommandLine)%7B%0Awindow.JSON.parse('%22message
%22%3A%22CODE%3A0%5CnArray%22%7D')%3B%0A%7D%3B
Line 2

I am using a Mac with Lion, Firefox 8.0.1 and Firebug 1.8.4.

Please escalate to Firefox team if it is a bug with the browser.

-- 
You received this message because you are subscribed to the Google
Groups "Firebug" 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
https://groups.google.com/forum/#!forum/firebug

Reply via email to