Back

isJson function

Copy Below Code View As A Text File Show Text Only Show API Edit Code
                            

function isJson(str) { try { JSON.parse(str); } catch (e) { return false; } return true; }