JSFiddle - React, Tailwind, and code Playground
by rwaldron
HTML
<script src="https://github.com/douglascrockford/JSON-js/raw/master/json_parse.js"></script>
<div id="dec"></div>
<div id="hex"></div>
JavaScript
// any empty strings actually contain the cancel character
var mystring='{"invis":"their brains process differently"}';
console.log(mystring);
console.log( '' );
console.log( '' === $("#dec").text() );
console.log( '' === $("#hex").text() );
console.log( '' === "\u0018" );
console.log( '' === "\u0018" );
console.log( ( new RegExp("\u0018") ).test( "their brains process differently" ) );
console.log( String.fromCharCode( parseInt(0x18, 16) ) );
console.log("json_parse", json_parse(mystring));
console.log("jQuery.parseJSON", jQuery.parseJSON(mystring));