Thursday, December 1, 2011

Solution for 'JSON undefined' error in IE8

Normally this error is given from older browsers. Windows Internet Explorer 8 is the first Microsoft Web browser that includes native support. But i came to know that IE 8 has some issues with JSON . I read some articles about this issue and found some useful information.

[1]says that there is an update is available for the native JSON feature in Internet Explorer 8.

Further it says that the issues are caused by deviations between the native JSON feature in Internet Explorer 8 and the final specification. The update will address following issues.

  •  JSON.stringify (value [, replacer] [, space])
  • JSON.parse (test [, reviver])
  • toJSON ()

And also it follows ECMAScript, fifth edition" standard specification.

If you still have this issue , check whether your are running IE in compatibility mode. It may be a reason for this issue.

[1] http://support.microsoft.com/kb/976662

[2] http://blogs.msdn.com/b/jscript/archive/2009/06/23/native-json-support-in-ie8-and-tracking-the-ecmascript-fifth-edition-draft-specification.aspx

[3] JSON validator : http://jsonlint.com/

[4] More info available here http://www.devcurry.com/2010/12/resolve-json-is-undefined-error-in.html

No comments:

Post a Comment

Using Zotero for academic writing