JSFiddle - React, Tailwind, and code Playground
by danheberden
HTML
<script src="https://github.com/douglascrockford/JSON-js/raw/master/json2.js"></script>
JavaScript
(function($, JSON) {
$.parseJSON = function( data) {
console.log( 'just duckpunched parseJSON - remove this in production' );
return JSON.parse( data );
}
})(jQuery, JSON);
var d = '{"a":"BEG[ ]END"}';
var jso = jQuery.parseJSON( d );
console.log( jso );