Hi,

According to [1] there is an update available for the native JSON feature
in IE8. 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 few issues including *JSON.parse (**)*. And also it
follows ECMAScript, fifth edition" standard specification.

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

Thanks,
Achala

On Wed, Nov 30, 2011 at 12:37 PM, Ruchira Wageesha <[email protected]> wrote:

> This function comes form [1], and it is not a ECMAScript function. Please
> verify whether it is included in the JSP. Chrome and Firefox might have
> packed it.
>
> [1] http://www.json.org/js.html
>
> /Ruchira
>
> On Wed, Nov 30, 2011 at 11:00 AM, Isuru Wimalasundera <[email protected]>wrote:
>
>> Hi All
>>
>> While working on the issue
>> https://wso2.org/jira/browse/CARBON-11462?focusedCommentId=47196#action_47196
>>  a
>> JS error occured saying that JSON is undefined with in the main.js of
>> Impact Analysis Gadget. This only occurs with IE8, which is suppose to be a
>> JSON supported browser. The Gadget works fine with Chrome and Firefox. This
>> JS error avoid the gadget being populated with data as the error gets hit
>> at given below code snippet of the gadget.
>>
>> var json = {};
>>     if (canJSON(data)) {
>>         json = data;
>>     } else {
>>         json = JSON.parse(data); <===== JSON undefined
>>     }
>>
>> Any ideas on this or suggestions to overcome this issue would be a great
>> help.
>>
>> Thanks
>> Isuruw
>>
>> --
>> *Isuru Wimalasundera*
>> Software Engineer;  WSO2, Inc.; http://wso2.com,
>>  mobile: +94 77 920 5641
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Ruchira Wageesha
> Software Engineer - WSO2 Inc. www.wso2.com
>
> Email: [email protected] Blog: [email protected]
> Mobile: +94775493444
>
> Lean . Enterprise . Middleware
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to