次の 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
。