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