摘要: try{var obj = eval('(' + str + ')');alert("str是json字符串");}catch(e){alert("str不是json字符串");} 阅读全文
posted @ 2018-03-05 15:42 战旗 阅读(1199) 评论(0) 推荐(0)