javascript escape string then remove escape code example
Example 1: js remove escape characters from json
var x = {"name":"void", "type":"O'\"Rielly"};
document.write(JSON.stringify(x, null, ' '));
Example 2: js remove escape characters from json
var x = {"name":"void", "type":"O'\"Rielly"};
document.write(JSON.stringify(x, null, '8'));