gpt4 book ai didi

ios - 从对象到json

转载 作者:可可西里 更新时间:2023-11-01 05:43:38 25 4
gpt4 key购买 nike

<分区>

如何转换 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];

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com