我有一个 JSON 对象数组,其布局如下:
[{
"user_privacy": "Private",
"latitude": "53.34885596487662",
"longitude": "-6.255970895290375",
"address": "",
"quick_ezpoint": false,
"tags": "test",
"owner": true,
"value": "TQJ539"
},{
"user_privacy": "Private",
"latitude": "53.34885596487662",
"longitude": "-6.255970895290375",
"address": "",
"quick_ezpoint": false,
"tags": "test",
"owner": true,
"value": "TQJ539"
}]
我尝试了这段代码,但它不起作用:
NSArray *ezpoints = [JSON valueListAttributes];
for (NSArray *ezpoint in ezpoints) {
NSLog(@"%@",[ezpoint description]);
}