So, I have a ServiceStore in dojo where the response has escape characters like so:
{ name:"\"Fred\" and \"Wilma\""}
In my deferred callback for this service, the JSON string coming in looks like:
{ name:""Fred" and "Wilma""}
which causes dojo.toJson(results) to blow up.
The string coming back from the server is correct (Have verified with Fiddler) so, something in the guts of dojo is ripping out the "\" before my quotes. To make it even more odd, is there are other instances of '\' that are left alone, but the ones before the quotes are gone.
Any ideas? Am I doing something stoopid? (Probably).
Thanks, Ruprict