I am using jsonmodel for mapping my response after getting from my service. Now the problems my service is giving me the response as an array of dictionaries but I can't map the array as it is not assigned against any key.
I have a JsonModel named ContactsModel.h which hold all the parameters identifier which mapped perfectly, but then I need to take the array of this model. So, I created another JsonModel, ContactListModel to hold that.
#import <JSONModel/JSONModel.h>
#import "ContactsModel.h"
@interface ContactListModel : JSONModel
@property(nonatomic, assign) NSArray<ContactsModel> *contacts;
@end
But see, my array is not assigned against any key. So, I think, that is why it is not being able to map.
Cane anyone please help me to deal with this situation.