title: NSDictionary shows nil in IOS/ Objective c
body: <p>I am receiving an arabic data through web service. I get data as a JSON object, but when I pass the value to an <code>NSDictionary</code> it shows <code>nil</code> and am not able to get <code>key/pair</code> value.i receive value till <code>data</code>,but i cant pass that to <code>NSDictionary</code>.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>(void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
           NSDictionary* json = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:nil];
  
  
      for (NSString *key in [json allKeys])
      {
  
          NSArray *feed = [json objectForKey:key];
  
          for(int i=0; i&lt;feed.count;i++)
          {
              for (NSString *key1 in [[feed objectAtIndex:i] allKeys])
              {
                  if([key1 isEqualToString:@"newsTitle"])
                  {
                      NSString *value = [[feed objectAtIndex:i]  objectForKey:key1];
                      [NewsTitleArray addObject:value];
  
                  }
                  else if([key1 isEqualToString:@"newsDescription"])
                  {
                      NSString *value = [[feed objectAtIndex:i]  objectForKey:key1];
                      [NewsDescriptionArray addObject:value];
  
                  }}}}
  </code></pre>