前端String转json

1.data = eval("("+data+")");
2.JSON.parse(data);
posted @ 2017-02-21 17:49  sunnyny  阅读(1980)  评论(0编辑  收藏  举报