JSFiddle - React, Tailwind, and code Playground
by userdude
HTML
<div id="test"/>
JavaScript
var ex = {'test':'This is "text".'};
$('#test').text(JSON.stringify(ex));
by userdude
<div id="test"/>
var ex = {'test':'This is "text".'};
$('#test').text(JSON.stringify(ex));