title: NSJSONSerialization - What is the proper value to specify no NSJSONWritingOptions for dataWithJSONObject:options:error:?
body: <p>Apple's documentation has the NSJSONWritingOptions enum with one constant defined: NSJSONWritingPrettyPrinted, and says that "If this option is not set, the most compact possible JSON representation is generated."</p>
  
  <p>I definitely want the most compact JSON representation.</p>
  
  <p>My question is:  what is the proper value to pass the dataWithJSONObject:options:error: function if I don't want pretty printed, and why?</p>
  
  <p>The NSJSONWritingOptions enum is defined as</p>
  
  <pre><code>enum {     NSJSONWritingPrettyPrinted = (1UL &lt;&lt; 0) }; typedef NSUInteger NSJSONWritingOptions;
  </code></pre>
  
  <p>I have read in a different post that 0 should be passed, but with no further explanation as to why it shouldn't be nil.</p>