for (NSArray *values in [serializedJSON allValues])
Sometimes the values in serializedJSON will be arrays, and sometimes they will be NSDictionaries. I would like to discriminate against one of them so I don’t get any errors like I am now. So I only want the returning values in this case to be NSArrays, while in a second case I would only want them to be NSDictionaries.
Thanks in advanced!
If you need more info let me know
The standard, generic way to handle JSON is roughly as follows: