title: json parsing+iphone
body: <p>how to do json parsing  in iphone.i had used below way:-</p>
  
  <pre><code>- (void)viewDidLoad { 
      [super viewDidLoad]; 
      NSLog(@"viewdidload");
      responseData = [[NSMutableData data] retain]; 
      NSURLRequest *request = [NSURLRequest requestWithURL:
                               [NSURL URLWithString:@"https://maps.googleapis.com/maps/api/place/search/json?location=-33.8670522,151.1957362&amp;radius=500&amp;types=food&amp;name=harbour&amp;sensor=false&amp;key=AIzaSyAbgGH36jnyow0MbJNP4g6INkMXqgKFfHk"]];
      [[NSURLConnection alloc] initWithRequest:request delegate:self];
  }
  
  - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
      NSLog(@"didReceiveResponse");
      [responseData setLength:0];
  }
  
  - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {        
      [responseData appendData:data]; 
  }
  
  - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {    
      NSLog(@"didFailWithError");
      label.text = [NSString stringWithFormat:@"Connection failed: %@",
                                              [error description]];
  }
  
  - (void)connectionDidFinishLoading:(NSURLConnection *)connection {
      NSLog(@"connectionDidFinishLoading");   
      [connection release];
  }
  </code></pre>
  
  <p>please guide me is it true.
  And how can i able to get the data of exact tag which we do in xml.</p>