My Blog List

Android FirstAid Coding

A Small Help From a Small Heart
Powered by Blogger.

A software professional, who still likes to code, likes to blog and loves gadgets.

Wednesday 3 April 2013

How to handle null vallue in json iphone

id displayNameTypeValue = [object objectForKey:@"address"];
NSString *displayNameType = @"";
if (displayNameTypeValue != [NSNull null])
   displayNameType = (NSString *)displayNameTypeValue;
 
 
 
 

No comments:

Post a Comment