从以下 json 片段:
cbfunc22({
query: {
count: 2,
created: "2012-06-18T11:18:15Z",
lang: "en-US",
results: {
tbody: [{
tr: [{
class: "day",
td: [{
class: "dayname",
p: "Monday"
},
{
class: "weather",
p: "Sunny Intervals"
},
我可以Monday
使用 jQuery 提取如下:
data.query.results.tbody[0].tr[0].td[0].p
如何提取Sunny Intervals
?