I get the following error in IE 9 SCRIPT5009: \'JSON\' is undefined
only when in compatability mode. the line causing this error is
JSON.string
You need to include json2.js
see json2 inclusion
for more details. There are cases where we have to deal with cases where clients use IE7 standards. So our code had to cater to such cases too. Ours being a retail website is accessed by hundreds of clients who use IE7 standards. Including json2 solves this issue