Refactor JSONRepresentation to stringFromObject: on RKParser. Fixes https://github.com/twotoasters/RestKit/issues/#issue/6

This commit is contained in:
Jeremy Ellison
2011-01-03 12:40:20 -05:00
parent 058e55242c
commit 340e587704
6 changed files with 24 additions and 9 deletions

View File

@@ -8,6 +8,7 @@
#import "RKJSONParser.h"
#import "SBJsonParser.h"
#import "NSObject+SBJSON.h"
@implementation RKJSONParser
@@ -23,4 +24,8 @@
return result;
}
- (NSString*)stringFromObject:(id)object {
return [object JSONRepresentation];
}
@end