JSFiddle - React, Tailwind, and code Playground

by yasumodev

JavaScript

alert(json_str_decode('\u5024\u4e0b\u3052\u4e2d\uff01Gon\u2606\u8fc5\u901f\u30a2\u30d1\u30ec\u30eb\u30b7\u30e7\u30c3\u30d7'));

function json_str_decode(str) {
    var arrs=str.match(/\\u.{4}/g);
    var t="";
    for(i=0;i<arrs.length;i++) {
        t+=String.fromCharCode(arrs[i].replace("\\u","0x"));
    }
    return t;
}