function getJsonObjLength(jsonObj){json
var Length=0;对象
for(var item in jsonObj){字符串
Length++;get
}it
return Length; io
}function
//注意是JSON对象而不是JSON数据字符串数据