Skip to content

Commit 034e31f

Browse files
committed
Store property type information from most specific class instead of most generic class
1 parent 3ae7737 commit 034e31f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JSONModel/JSONModel/JSONModel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ -(void)__inspectProperties
670670
}
671671

672672
//add the property object to the temp index
673-
if (p) {
673+
if (p && ![propertyIndex objectForKey:p.name]) {
674674
[propertyIndex setValue:p forKey:p.name];
675675
}
676676
}

0 commit comments

Comments
 (0)