title: Create json data on iPhone with integers, bools
body: <p>Using the json-framework for iPhone (<a href="http://code.google.com/p/json-framework/" rel="nofollow noreferrer">http://code.google.com/p/json-framework/</a>) it's really easy to create json data from a NSDictionary. Like so;</p>
  
  <pre><code>NSString *json_string = [json_parser stringWithObject:dictionary];
  </code></pre>
  
  <p>This works perfect if I have objects like NSString and so on in my dictionary. But I also need to send integers,bools and floats with json and can not find a way to do this in the same way. Anyone got a solution?</p>
  
  <p>UPDATE:</p>
  
  <p>I found out that I can wrap integers to NSNumber. But how can I use bools?</p>