JSFiddle - React, Tailwind, and code Playground
HTML
<textarea id="tabsjson" cols="75" rows="25"></textarea>
<br/><button id="convert">Convert</button>
<p><textarea id="formated" cols="75" rows="25"></textarea></p>
JavaScript
$("#convert").on('click', function(evt) {
//
var settings = $("#tabsjson").val();
debugger;
settings = settings.replace("\\", "");
var settingsConverted = JSON.parse(settings);
//alert(settings);
//alert(settingsConverted);
});