Simple SwiftyJSON written in pure Objective C
Basic main functions are there : subscript notation, type inference.
Usage like
JSONresponse[@"data"][@"weather"][0][@"weatherIconUrl"][0][@"value"]is valid without crashing and multiple checking at each layer of response object.
Add JSON.h+m into your project.
Example
#import "JSON.h"
[... success:^(AFHTTPRequestOperation *operation, id responseObject) {
JSON * JSONresponse = [[JSON alloc] initWithJSONobject:responseObject];
NSLog(@"%@",JSONresponse.description);
} failure:^(AFHTTPRequestOperation *operation, NSError *error) {
NSLog(@"Error: %@", error);
}];