{
"success": true,
"message": "Successfully retrieved data for report #1",
"content": {
"fields": ["name", "2013", "2012", "2011"],
"data": [{
"name": "1",
"2011": 378.4,
"2012": 208.95,
"2013": 229.92
}, {
"name": "2",
"2011": 258.92,
"2013": 265.92
}, {
"name": "3",
"2011": 242,
"2012": 227.98,
"2013": 558.13
}, {
"name": "4",
"2011": 322.5,
"2012": 390,
"2013": 282.09
}, {
"name": "5",
"2011": 563.88,
"2013": 461.1
}, {
"name": "7",
"2011": 268.5,
"2012": 305.48
}]
}
}
这是我的json ..我想从我的商店读取数据:[{name:“”,.....}],所以我给了rootProperty:content [0] .data但它不工作,任何人都可以告诉我如何阅读这些数据,并帮助我解决这个问题。谢谢 。
答案 0 :(得分:0)
找到它rootProperty:'content.data'正常工作。我的问题是url。谢谢