校验字符串是否json格式
摘要://判断是否JSON格式 function isJSON(str) { if (typeof str == 'string') { try { var obj=JSON.parse(str); if(typeof obj == 'object' && obj ){ return true; ...
阅读全文
posted @ 2018-09-25 14:09
posted @ 2018-09-25 14:09
posted @ 2018-06-22 13:51
posted @ 2017-11-24 10:12