js json转对象

使用eval()

读取

for (var i=0;i< response.length; i++) {
//alert(response[i].username)
html=html+"<li>"+response[i].username+"</li>";
}

原文地址:https://www.cnblogs.com/weiyiyong/p/7285828.html