摘要: 阅读全文
posted @ 2020-10-17 19:25 fnasklf 阅读(67) 评论(0) 推荐(0) 编辑
摘要: json字符串分为标准和非标准 若为标准字符串,可以直接用 JSSON.prase(str) 若为非标准,可以用 eval( " ( " + str+ " ) " ); 转换,注意要在str左右加上圆括号包住 注意 eval 方法可以同时转换标准和非标准 阅读全文
posted @ 2020-10-17 09:40 fnasklf 阅读(207) 评论(0) 推荐(0) 编辑