JSFiddle - React, Tailwind, and code Playground

JavaScript

$(function(){
    try{
        $.parseJSON('{ "hello": "hi\\nlittle boy?" }');
    } catch (exception) {
        alert(exception.message);
    }    
});