遍历JSON

第一种:

each,不做详细说明,太常用了

第二种:我用来遍历单个组,实现前端界面绑定

 for(var item in person){
  alert("person中"+item+"的值="+person[item]);
 }

  

原文地址:https://www.cnblogs.com/ncellit/p/6655415.html