oc 中 json 布尔值的判断

我只想说能够骂人么。。。。。太很差判断了json

   
    NSInteger status=[[json objectForKey:@"status"] integerValue];
    if (status==0) {
        
        NSString * msg=[json objectForKey:@"message"];
        [self alertView:msg];
        return NO;
    }
相关文章
相关标签/搜索