mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 12:27:52 +08:00
Merge pull request #181 from dhilus/master
YAJL serialization option modified so NSURL properties are 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