I want to make some primitive properties option in my JSONModel classes. Please see the code below.
#import "JSONModel.h"
@protocol GreenModel <NSObject>
@end
@interface MyModel : JSONModel
@property (nonatomic, assign) NSInteger<Optional> objId;
@property (nonatomic, strong) NSString *name;
@end
Can anybody suggest a way to achieve this?