前台对后台JSON数据的解析读取

版权声明:UU小七 :转载请标注哦!^v^ https://blog.csdn.net/qq_36474549/article/details/84526277

1.如果后台传来的JSON数据格式为:

2.获取键值的方法为:

  var parsedJson = jQuery.parseJSON(data);//格式化data数据
  alert(parsedJson.srow);//取键值

猜你喜欢

转载自blog.csdn.net/qq_36474549/article/details/84526277