JSON: Difference between revisions
Content deleted Content added
Line 1,323: | Line 1,323: | ||
NSLog(@"%@", obj); |
NSLog(@"%@", obj); |
||
NSDictionary * |
NSDictionary *dict = @{ @"blue": @[@1, @2], @"ocean": @"water"}; |
||
NSData *jsonData = [NSJSONSerialization dataWithJSONObject: |
NSData *jsonData = [NSJSONSerialization dataWithJSONObject: dict |
||
options: 0 |
options: 0 |
||
error: NULL]; |
error: NULL]; |