no message

This commit is contained in:
giuseppenuc committed 2016-05-03 17:39:03 +02:00
1 parent 560aa24515
commit 5a768fcda5
1 file changed
+4
+4
View File
@@ -207,6 +207,10 @@ NSString * const PNObjectMappingSelector = @"selector";
NSString *mappedJSONKey;
NSString *mappedJSONType;
if (self.JSON && [[self.JSON allKeys] count] == 0) {
self.JSON = [[NSMutableDictionary alloc] initWithDictionary:[self reverseMapping]];
}
NSDictionary *properties = [PNObject propertiesForClass:self.class];
for (NSString* propertyName in self.JSONObjectMap) {