add support for jsonkit parser

This commit is contained in:
Jeff Arena
2011-03-16 20:21:36 -07:00
parent 7896232cc2
commit e938a4d277
3 changed files with 133 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
//
// RKJSONParser+JSONKit.m
// RestKit
//
// Created by Jeff Arena on 3/16/10.
// Copyright 2010 Two Toasters. All rights reserved.
//
#import "RKJSONParser.h"
#import "JSONKit.h"
@implementation RKJSONParser
- (NSDictionary*)objectFromString:(NSString*)string {
return [string objectFromJSONString];
}
- (NSString*)stringFromObject:(id)object {
return [object JSONString];
}
@end