【发布时间】:2017-04-18 18:30:13
【问题描述】:
我只需要解码描述、温度、id 和名称!我该怎么做?
{
"cnt": 1,
"list": [
{
"coord": {
},
"sys": {
},
"weather": [
{
"id": 800,
"main": "Clear",
"description": "clear sky",
"icon": "01n"
}
],
"main": {
"temp": 0.02,
"pressure": 1025,
"humidity": 68,
"temp_min": -1,
"temp_max": 1
},
"visibility": 10000,
"wind": {
},
"clouds": {
},
"dt": 1492539576,
"id": 524901,
"name": "Moscow"
}
]
}
【问题讨论】:
-
你的 JSON 中有两个“id´s”,你想要哪个?
-
我需要第二个“id”
标签: android json get android-volley