http://code2wing.blog83.fc2.com/blog-entry-63.html
NSLog(@"WebAPIのURL:%@",apiUrlJson ); NSURL *httpDataUrl2 = [NSURL URLWithString:apiUrlJson]; NSURLRequest *request = [NSURLRequest requestWithURL:httpDataUrl2]; NSData *json_data = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil]; NSDictionary *jsonObject = [NSJSONSerialization JSONObjectWithData:json_data options:NSJSONReadingAllowFragments error:nil];