title: Objective-C + JSON Parse objectForKey for Google Places API
body: <p>I've got this:</p>
  
  <pre><code>    //request stuff
  NSString *searchString = [NSString stringWithFormat:@"Sydney"];
  NSString *urlString = [NSString stringWithFormat:@"https://maps.googleapis.com/maps/api/place/textsearch/json?query=%@&amp;sensor=true&amp;key=mykeynotyours!",searchString];
  
  NSURL *requestURL = [NSURL URLWithString:urlString];
  NSURLRequest *request = [NSURLRequest requestWithURL:(requestURL)];
  
  //response
  NSData *response = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
  NSError *jsonParsingError = nil;
  NSDictionary *locationResults = [NSJSONSerialization JSONObjectWithData:response options:0 error:&amp;jsonParsingError];
  
  NSLog(@"%@",locationResults);
  </code></pre>
  
  <p>Which is spitting out a few results, the first of which is the one I want, but I can't get the lat and lng like I could with other API's by saying:</p>
  
  <pre><code>NSString *stringLatitude = [locationResults objectForKey:@"lat"];
  </code></pre>
  
  <p>I suspect that key it's looking for is a subset of the "results" key which I don't know how to tell it :-(</p>
  
  <p>Results:</p>
  
  <pre><code>    2013-04-12 18:47:49.784 Test[26984:c07] {
  "html_attributions" =     (
  );
  results =     (
              {
          "formatted_address" = "Sydney NSW, Australia";
          geometry =             {
              location =                 {
                  lat = "-33.8674869";
                  lng = "151.2069902";
              };
              viewport =                 {
                  northeast =                     {
                      lat = "-33.4245981";
                      lng = "151.3426361";
                  };
                  southwest =                     {
                      lat = "-34.1692489";
                      lng = "150.502229";
                  };
              };
          };
  </code></pre>
  
  <p>Appreciate any guidance!</p>