Created
October 5, 2011 15:45
-
-
Save rapodaca/1264773 to your computer and use it in GitHub Desktop.
Importing JSON in PhoneGap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <PhoneGap/JSON.h> | |
@implementation Test | |
-(void)foo:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options { | |
NSDictionary *map = [NSDictionary dictionary]; | |
NSString *json = [map JSONRepresentation]; | |
NSLog(@"%@", json); | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment