我已经装箱的Web API作为http://hunttreasure.azurewebsites.net/Default.aspx 它返回杰森数组作为在Android中如何解析JSON阵列
[{
"latitude": 20.938849,
"longitude": 77.781681,
"placeName": "SBI_CAMP",
"hint": "SBI CAMP Treasure Hint"
}, {
"latitude": 20.938835,
"longitude": 77.782726,
"placeName": "GARAGE CAMP",
"hint": "CAMP GARAGE Treasure Hint"
}]
如何我可以分析这个JSON阵列充分利用URL和变量保存的值。
在'Retrofit'从非常基本的http://www.javatpoint.com/android-web-service,然后移动到看一看,'gson'库 –
开始图书馆,其中@ JohnO'Reilly建议 – Rahul