mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-04 10:11:30 +08:00
YAJLGenOptionsIncludeNone -> YAJLGenOptionsIncludeUnsupportedTypes thus enabling NSURL properties to be serialized as string.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
}
|
||||
|
||||
- (NSString*)stringFromObject:(id)object error:(NSError **)error {
|
||||
return [object yajl_JSONString];
|
||||
return [object yajl_JSONStringWithOptions:YAJLGenOptionsIncludeUnsupportedTypes indentString:@" "];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user