相关疑难解决方法(0)

用于选择器视图iPhone的JSON数组

我从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)

iphone xcode json objective-c ios

2
推荐指数
1
解决办法
4030
查看次数

标签 统计

ios ×1

iphone ×1

json ×1

objective-c ×1

xcode ×1