JSFiddle - React, Tailwind, and code Playground
JavaScript
$(function(){
try{
alert('json: ' + $.parseJSON('{ "hello": "hi\\nlittle boy?" }').hello);
} catch (exception) {
alert(exception.message);
}
});
$(function(){
try{
alert('json: ' + $.parseJSON('{ "hello": "hi\\nlittle boy?" }').hello);
} catch (exception) {
alert(exception.message);
}
});