我想在我的应用程序中使用JSON,我从未使用过它。我有一个这样的对象:JSON结构表示
@interface Selection : NSManagedObject
@property (nonatomic, retain) NSString * book_id;
@property (nonatomic, retain) NSString * contenu;
@property (nonatomic, retain) NSNumber * page_id;
@property (nonatomic, retain) NSNumber * nbrOfOccurences;
@property (nonatomic, retain) NSString * next;
@property (nonatomic, retain) NSString * previous;
@end
我想构建JSON
同步到我的服务器。使用我的对象"Selection"
的结构是什么,即:如何以JSON
格式表示"Selection"
的许多对象?感谢您的回答。