I'm having an issue with JSON serialization in IE11 when doing either appAP.JSON.stringify() or the regular JSON.stringify() method. It appears to work correctly always under Chrome.
The issue that i'm getting is fairly basic, the following code
var x = ["x", "b"]; alert(JSON.stringify(x));
Will yield incorrect json under IE 11 while running the crossrider extension.js, result will be {"0":"x","1":"b"}
Where the expected result should be ["x","b"]. I get this (correct) result always in Chrome, and I get this result in IE if its code running directly on the page.
This is causing me grief because my JSON deserializer this is sent to is unable to convert the object to an array.
Any thoughts why crossrider stringify() calls would serialize different to native IE ?