我需要大量的幫助來處理JSON響應我將通過一個Web服務API。它是前向地理編碼。JSON API iphone
如何獲得返回給我的結果數? 也得到結果的價值,比如'地址'。
響應JSON數據如下。非常感謝。
[
{"total":63},{
"t":"1",
"lable":"Gek Poh Shopping Centre",
"address":"762 Jurong West Street 75. (S)640762",
"street":"Jurong West Street 75",
"zip":"640762",
"long":"103.6980151847",
"lat":"1.348986165348",
"x":"355149.0357","y":
"149142.5301",
"is_prem":"0",
"pid":"47120",
"aid":"115810",
"lid":"245690",
"has_biz":"1",
"is_main_building":"1",
"id":"245690",
"cat_id":"80"
},
{
"t":"1",
"lable":"Gek Poh Ville Community Club (CC)",
"address":"1 Jurong West Street 74. (S)649149",
"street":"Jurong West Street 74",
"zip":"649149",
"long":"103.69890252806",
"lat":"1.3489703630875",
"x":"355247.7723",
"y":"149140.7302",
"is_prem":"0",
"pid":"2979",
"aid":"116734",
"lid":"127311",
"has_biz":"1",
"is_main_building":"1",
"id":"127311",
"cat_id":"14"
}
]
總密鑰在你的json中代表什麼。 –
@Inder Kumar Rathore。這是該服務找到的結果。但是,由於有一個參數限制它,因此不是實際返回的結果數量。 –