var G = {
single:{
1:{"1080p":30},
2:{"1080p":15},
3:{"720p":30},
4:{"1440*1080p":30},
5:{"1600*1200p":30},
6:{"2048*1536p":15},
7:{"720p":30}
},
dual:{
1:{
"1080p":30,
"480p":2
},
2:{
"1080p":28,
"800*600p":28
}
}
};
$(document).ready(function()
{
for(var a in G.dual) {
for(var b in G.dual[a])
{
alert(G.dual[a][b]); //打印出文件中的内容
}
}
})
var UserList = [ {"UserID":11, "Name":{"FirstName":20,"LastName":"Zhu"}, "Email":"zhuleipro◎hotmail.com"},
{"UserID":12, "Name":{"FirstName":"Jeffrey","LastName":"Richter"}, "Email":"xxx◎xxx.com"},
{"UserID":13, "Name":{"FirstName":"Scott","LastName":"Gu"}, "Email":"xxx2◎xxx2.com"} ];
alert(UserList[0].Name.FirstName);