1、json中输出各个键值:

 var ohp = {"星期一":18,"星期二":16,"星期三":19,"星期四":11,"星期五":99,"星期六":0,"星期日":0};
for(var key in ohp){
console.log(key);
console.log(ohp[key]);
}

2、查询星期五的值:  console.log(ohp["星期五"]); //星期五的值

05-08 15:42