Can I get AFNetworking to automatically parse NULL to nil?
We're using AFNetworking in our mobile app and a lot of times we will have JSON come back that has null for some values.

I'm getting tired of doing the following.

    if ([json objectForKey:@"nickname"] isKindOfClass:[NSNull class]]) {
        nickname = nil;
    } else {
        nickname = [json objectForKey:@"nickname"];
    }

Anything we can do to make AFNetworking automagically set objects to nil or numbers to 0 if the value is null in the JSON response?
Can I get AFNetworking to automatically parse NULL to nil?
===

We're using AFNetworking in our mobile app and a lot of times we will have JSON come back that has null for some values.

I'm getting tired of doing the following.

    if ([json objectForKey:@"nickname"] isKindOfClass:[NSNull class]]) {
        nickname = nil;
    } else {
        nickname = [json objectForKey:@"nickname"];
    }

Anything we can do to make AFNetworking automagically set objects to nil or numbers to 0 if the value is null in the JSON response?