function getJsonLength(jsonData){
var jsonLength = 0;
for(var item in jsonData){
jsonLength++;
}
return jsonLength;
}
在线json格式化工具:
http://www.bejson.com/go.php?u=http://www.bejson.com/index.php
function getJsonLength(jsonData){
var jsonLength = 0;
for(var item in jsonData){
jsonLength++;
}
return jsonLength;
}
在线json格式化工具:
http://www.bejson.com/go.php?u=http://www.bejson.com/index.php