我从JSON Web服务获取此数据
List ARRAY: (
{
assets = (
{
identity = 34DL3611;
systemId = 544507;
},
{
identity = 34GF0512;
systemId = 5290211;
},
{
identity = 34HH1734;
systemId = 111463609;
},
{
identity = 34HH1736;
systemId = 111463622;
},
{
identity = 34YCJ15;
systemId = 294151155;
}
);
identity = DEMO;
systemId = 4921244;
})
Run Code Online (Sandbox Code Playgroud)
通过使用此代码:
NSArray *list =[NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&error];
NSLog(@"Response data: %@", responseString);
NSLog(@"List ARRAY: %@", list);
NSDictionary *dict = [list objectAtIndex: 0];
NSMutableArray *vehicleGroups …Run Code Online (Sandbox Code Playgroud)