title: Objective-C JSON Boolean
body: <p>I have parsed a json object that has the following structure:</p>
  
  <pre><code>{
      data = "&lt;null&gt;";
      "error_type" = "INPUT_ERROR";
      msg = "Missing field parameter";
      success = 0;
  }
  </code></pre>
  
  <p>I'm trying to do a compariosn to see whether success is true or false, however it dosnt work and gives me a warning saying you can't compare a pointer as a integer. I've also tried NO and YES.</p>
  
  <p>Anyhelp would be greatly appreciated.</p>