【发布时间】:2015-09-03 07:37:33
【问题描述】:
如何转换 JSON 中的对象列表?我搜索了互联网,但我使用的所有方法都出错了。我需要将对象 coll 变成字符串 json
Collections *current = _raccolte[_currentCell];
current.label = [[alertView textFieldAtIndex:0] text];
current.datetime_last_update = [NSNumber numberWithDouble:[[NSDate date] timeIntervalSince1970]];
NSMutableArray *coll = [[NSMutableArray alloc] init];
[coll addObject:current];
HttpClient *client = [[HttpClient alloc] init];
[client syncCollection:coll];
【问题讨论】:
标签: ios objective-c json