... using JSON2.js and JQUERY
as you can see from the first image, the property of the CustomerReport.Title object has an apostrophe. In the code, you can see that I am calling JSON.stringify () on the reportAsJson line, which still has an unescaped apostrophe.
the error returned by $ .ajax () is {"Message":"Invalid object passed in, \u0027:\u0027 or \u0027}\u0027 expected. ...
At first, I'm just going to ban the apostrophe from the user, but I thought that JSON.stringify () handled this or do I need to set some parameter ????
thanks



source share