title: Parse JSON data to label
body: <pre><code> reponsedata = [[NSMutableData alloc]init];
      NSString *loc = [NSString stringWithFormat:@"http://advantixcrm.com/prj/mitech/index.php/api/appconfig/Mg"];
      NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:loc]];
      [[NSURLConnection alloc] initWithRequest:request delegate:self];
  
      if (reponsedata)
      {
  
          NSDictionary *Dictionarydetails = [NSJSONSerialization
                                             JSONObjectWithData:reponsedata
                                             options:kNilOptions
                                             error:nil];
          NSLog(@"The return data is: %@",Dictionarydetails);
  
          NSMutableDictionary *tempdict = [Dictionarydetails valueForKey:@"AppConfig"];
          array=[tempdict valueForKey:@"RestInfo"];
  
          NSLog(@"the result  are %@",array);
          NSLog(@"the result count is are %d",[array count]);
  
  
          NSDictionary *classDict  = [[NSDictionary alloc]init];
  
          for (int i=0; i&lt;[array count]; i++) {
              //arr = [Class_location objectForKey:@"class_image"];
              classDict =[array objectAtIndex:i];
              // NSLog(@"the  dict Values are  are: %@",classDict);
              NSMutableArray  *dict1 =[[NSMutableArray alloc]init];
              dict1 =[classDict valueForKey:@"RestInfo"];
              NSLog(@"the result :%@",dict1);
  
              lb1.text =[classDict valueForKey:@"restaurant_location"];
              lbl2.text = [classDict valueForKey:@"restaurant_name"];
              lbl3.text = [classDict valueForKey:@"contact_name"];
  
          }
      }
  }
  </code></pre>
  
  <p>the problem was I can't get those value to label
  well I got my response from server </p>