var json= { "Type": "Coding", "Height":100 }; for (var key in json) { alert(key); alert(json[key]); } $.each(json, function(i) { alert(json[i]); alert(i); });http://www.cnblogs.com/ytjjyy/archive/2012/04/17/2453340.html