json字串主从表无法转成对像

得到一个主从结构正确的json串 

用eval转换时要加 ()

var d=eval('('+data+')');

 

posted @ 2020-05-12 11:09  伪装大牛  阅读(261)  评论(0编辑  收藏  举报