I have a JSON object that is coming from a webserver.
The log is something like this:
{
\"status\":\"success\",
\"Us
Best would be if you stick to best practices - i.e. use a real data model to read JSON data.
Have a look at JSONModel - it's easy to use and it will convert [NSNUll null] to * nil * values for you automatically, so you could do your checks as usual in Obj-c like:
if (mymodel.Telephone==nil) {
//telephone number was not provided, do something here
}
Have a look at JSONModel's page: http://www.jsonmodel.com
Here's also a simple walk-through for creating a JSON based app: http://www.touch-code-magazine.com/how-to-make-a-youtube-app-using-mgbox-and-jsonmodel/