首页 > 代码库 > 字符串转json对象 SyntaxError: missing ; before statement

字符串转json对象 SyntaxError: missing ; before statement

字符串转json对象 SyntaxError: missing ; before statement

var obj = eval("("+strJson+")");