JS string 转 json

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

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

posted on 2017-08-03 10:24  正义的伙伴!  阅读(264)  评论(0编辑  收藏  举报

导航

//增加一段JS脚本,为目录生成使用