【发布时间】:2014-12-13 05:01:08
【问题描述】:
如何在 ios 中从这个响应中获取 id
{
"kind": "coordinate#jobList",
"nextPageToken": "1339008280772001",
"items": [
{
"kind": "coordinate#job", // Job #1
"id": "2502",
"state": {
"kind": "coordinate#jobState",
"assignee": "mike@example.com",
"location": {
"kind": "coordinate#location",
"lat": 37.421991,
"lng": -122.08393,
"addressLine": [
"1600 Amphitheatre Pkwy, Mountain View CA 94043"
]
},
"note": [
"Watch out for androids AND the Tyrannosaurus rex."
],
"title": "Service call",
"customerName": "Google",
"customerPhoneNumber": "1-650-253-0000"
},
【问题讨论】:
-
使用
NSJSONSerialization类
标签: ios google-api