Serialize a custom object with JSONModel
问题 I try to create a JSON file out of my custom Object with the JSONModel framework for iOS. I get the Error: -[JSONModel.m:1077] EXCEPTION: Invalid type in JSON write (RegisterBuyerDataOption) -[JSONModel.m:1077] EXCEPTION: Invalid type in JSON write (RegisterBuyerDataOption) -[JSONModel.m:1077] EXCEPTION: Invalid type in JSON write (RegisterBuyerData) registerBuyerData.h @interface RegisterBuyerData : JSONModel @property (nonatomic, strong) NSString *buyerDataID; @property (nonatomic )