HUD icon indicating copy to clipboard operation
HUD copied to clipboard

Cannot Convert JSONModel with Array of JSONModel to String

Open dwarvensniper opened this issue 10 years ago • 0 comments

Hello :-) ... I got an error if I convert JSONModel with Array of JSONModel to String...

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSArray isEqualToString:]: unrecognized selector sent to class 0x10eee6cd8'

this is my JSONModel Class...

@interface LoanModel: JSONModel

@property (strong, nonatomic) NSString* name; //@property (strong, nonatomic) NSString* use; @property (strong, nonatomic) NSString* status; @property (strong, nonatomic) NSArray<Arrayss, ConvertOnDemand>* arrayss; @property (strong, nonatomic) LocationModel* location;

@end

this is my execution...

[JSONModel toJSONString];

I need help... Thanks in advance :-)

dwarvensniper avatar Jan 21 '15 07:01 dwarvensniper