本文实例讲述了jQuery处理json数据返回数组和输出的方法。分享给大家供大家参考。具体实现方法如下:
复制代码 代码如下:/*print the json object
*
*$(“selector”).print_r_json(json,opts) : return formatted string (and print)
*sprint_r_json : just return the string;
*print_r_json : return the formatted string and print json data
*contribute 明河
*
*auth