JSFiddle - React, Tailwind, and code Playground
by exe1
HTML
<div id="test">-</div>
<div id="test2">-</div>
JavaScript
String.prototype.fakeReplace=function(str, newstr) {
return this.split(str).join(newstr);
};
$(document ).ready( function(){
// read json string from file with excaped quote \" inside
var stringified_json = '"key" : "value string \"quoted string."';
$("#test").html( stringified_json.replace('\\"', "'") );
$("#test2").html( stringified_json.fakeReplace('\\"', "'") );
});