title: Using objective-c to get coldfusion generated JSON
body: <p>By going to a url test.com/test.cfm I am able to output the following:</p>
  
  <pre><code>{"COLUMNS":["OBJID","USERNAME","USERPASSWORD","USERFNAME","USERMI","USERLNAME","COMPANY","TBLCOMPANYID","TBLTITLE","USERADDRESS1","USERADDRESS2","USERCITY","USERSTATE","USERZIP","USERSIGNATUREFILE","USERBUSINESSNUMBER","USERBUSINESSEXT","USERFAXNUMBER","USERCELLNUMBER","USEROTHERNUMBER","USEREMAIL1","USEREMAIL2","USEREMAIL3","DEFAULTPROJECTID","SIGNATURE","SIGNATUREUPLOADBY","SORTORDER","DISABLESTATUS","UUID","SITEID","PROGRAMID"],
  "DATA":[[1,"test",11214.0,"admin","","admin","adf Inc.",1,1,"admin","","","California","","","",null,"","","","admin@test.com","","",0,null,null,0,false,"468373c5-1234-1234-1234-3133a2bb1679",62,1]]}
  </code></pre>
  
  <p>To iterate through this I will first need to get the data using this?</p>
  
  <pre><code>NSMutableData *receivedData;
      NSURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL     URLWithString:@"test.com/test.cfm"]
                                            cachePolicy:NSURLRequestUseProtocolCachePolicy
                                        timeoutInterval:60.0];
  // create the connection with the request
  // and start loading the data
  NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:theRequest delegate:receivedData];
  if (theConnection) {
      // Create the NSMutableData to hold the received data.
      // receivedData is an instance variable declared elsewhere.        
      NSLog(@"test = %@",receivedData);
  } else {
      // Inform the user that the connection failed.
  } 
  </code></pre>
  
  <p>Am I on the right track? The output says null...</p>