title: How can I check If I got null from json?
body: <p>Here I got from JSON </p>
  
  <p>[{"photo":null}]</p>
  
  <p>and I use this code </p>
  
  <pre><code>NSMutableArray *jPhoto = [NSMutableArray arrayWithArray:(NSArray *)[jsonDict valueForKey:@"photo"]];
  </code></pre>
  
  <p>How can I check it if I want to use if() ?? </p>
  
  <p>edit</p>
  
  <p>here is JSON Data </p>
  
  <pre><code>   [{"photo":
                [{"image":"http:\/\/www.yohyeh.com\/upload\/shisetsu\/13157\/photo\/1304928459.jpg","title":"test picture","content":"this is description for test picture.\r\n\u8aac\u660e\u6587\u306a\u306e\u306b\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb\u30fb"}
                ,{"image":"http:\/\/www.yohyeh.com\/upload\/shisetsu\/13157\/photo\/1304928115.jpg","title":"nothing","content":"iMirai"}
                ,{"image":"http:\/\/www.yohyeh.com\/upload\/shisetsu\/13157\/photo\/1303276769.jpg","title":"iMirai","content":"Staff"}]}
    ]
  </code></pre>
  
  <p>and here is my JSON parser</p>
  
  <pre><code>NSError *theError = nil;     
      NSString *URL = [NSString stringWithFormat:@"http://www.yohyeh.com/apps/get_sub_detail.php?id=%@&amp;menu=photo",g_id];
      NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:URL]];
      NSURLResponse *theResponse =[[[NSURLResponse alloc]init] autorelease];
      NSData *data = [NSURLConnection sendSynchronousRequest:request returningResponse:&amp;theResponse error:&amp;theError];   
      NSMutableString *string = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
  
      NSDictionary *jsonDict = [string JSONValue];
  </code></pre>
  
  <p>Thank for help</p>