Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"MatchedResult":{"CurrentStatus":47}}
- NSString *responseString = [request responseString];
- NSDictionary *responseDict = [responseString JSONValue];
- NSString *currentStatus = [responseDict objectForKey:@"CurrentStatus"];
- NSString *responseString = [request responseString];
- NSDictionary *responseDict = [responseString JSONValue];
- NSString *currentStatus = [responseDict objectForKey:@"MatchedResult"];
- {
- CurrentStatus = 47;
- }
- NSString *responseString = [request responseString];
- NSDictionary *responseDict = [responseString JSONValue];
- NSString *currentStatus = responseDict[@"MatchedResult"][@"CurrentStatus"];
- NSDictionary *matchedResultDict = [responseDict objectForKey:@"MatchedResult"];
- NSString *currentStatus = [matchedResultDict objectForKey:@"CurrentStatus"];
- {
- "MatchedResult": {
- "CurrentStatus": 47
- }
- }
- NSString *responseString = [request responseString];
- NSDictionary *responseDict = [responseString JSONValue];
- NSString *currentStatus = [[responseDict objectForKey:@"MatchedResult"] objectForKey:@"CurrentStatus"];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement