JS string 转 json

使用JSON.parse 方法 就好。。。

用 eval 有时会 报错。。。。。!!!!

posted @ 2017-08-03 10:24  whmmm  阅读(272)  评论(0)    收藏  举报
//增加一段JS脚本,为目录生成使用