前端String转json

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