title: Parsing JSON using NSJSONSerialization
body: <p>I am currently going through the Pragmatic iOS 6 book, and am having trouble understanding the following line of code explained in chapter 3 under the section about GCD:</p>
  
  <pre><code>    NSJSONSerialization *jsonResponse = [NSJSONSerialization JSONObjectWithData:data options:0 error:&amp;jsonError];
      //... some code here
      NSArray *tweets = (NSArray *) jsonResponse; //&lt;-- this line
  </code></pre>
  
  <p>Is it saying that the <code>NSJSONSSerialization</code> object could automatically return an instance of NSSArray, which is then stored in the <code>tweets</code>?  I checked the <a href="http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html" rel="nofollow">Apple docs</a>, but only saw items on restrictions using <code>NSJSONSerialization</code>, but not what objects it could then get converted to.</p>
  
  <p>Thanks! </p>