我需要一些关于如何使用 Javascript 访问 JSON 对象的密钥的指导:"yweather:forecast"
。我尝试过json.yweather:forecast
,但它抛出一个错误。
{
"yweather:forecast" : [
{
"@day":"Wed",
"@date":"10 Jul 2013",
"@low":"75"
}
]
}
Run Code Online (Sandbox Code Playgroud)