title: Objective-C JSON types
body: <p>I'm using <a href="http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html#//apple_ref/occ/clm/NSJSONSerialization/JSONObjectWithData%3aoptions%3aerror%3a" rel="nofollow"><code>NSJSONSerialization JSONObjectWithData:options:error:</code></a> in an iOS 5 project to read a JSON string and convert it to a Foundation object. Is there an easy way to find out if the object or some of its children are arrays, dictionaries, numbers or strings?</p>