I'm using JSON.Stringify
and JSON.parse
everywhere and it works fine with Firefox. It's working no more with IE9 nor does it work in IE8. What can I do?
I'm using JSON.Stringify
and JSON.parse
everywhere and it works fine with Firefox. It's working no more with IE9 nor does it work in IE8. What can I do?
JSON.stringify
starts with a lower-case s
. Both stringify
and parse
are available in IE8+, but only in standards mode.
Prepend your document with <!DOCTYPE html>
if you're currently using quirks mode. Also, watch the capitalization of the JavaScript methods you call - all built-in ones start with a lower-case character.