JSFiddle - React, Tailwind, and code Playground
by Nick Craver
HTML
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
JavaScript
try{
var val = JSON.parse('{ key: "value" }').key;
alert(val);
} catch(e) {
alert(e);
}
var val2 = JSON.parse('{ "key": "value" }').key;
alert(val2);