I have a data-set and I have requested that it is sent to me in JSON. This data-set however contains a backslash which causes issues when I am trying to parse it. Other then fixing the JSON file, is there anything I can do in JS (ie - escape the slash)?
data.json:
{
"Name": "Wonderful Buffet",
"Address": "1234 Main Street \"
}
script.js:
$.ajax('data.json').done( function(data) {
console.log(data); //Outputs nothing
});