With IOS5 you can use NSJSONSerialization for serializing the JSON.
NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&error];
More Related Contents:
- Best way to sort an NSArray of NSDictionary objects?
- Sorting NSArray of dictionaries by value of a key in the dictionaries
- Sort An Array in Objective C with Multiple Items [closed]
- How to use NSJSONSerialization
- NSDictionary with ordered keys
- Best practice? – Array/Dictionary as a Core Data Entity Attribute [closed]
- Finding smallest and biggest value in NSArray of NSNumbers
- How can I sort an NSArray containing NSDictionaries?
- Which has faster performance indexesOfObjectsPassingTest or filteredArrayUsingPredicate?
- Rebuild an NSArray by grouping objects that have matching id numbers?
- Swift equivalent to `[NSDictionary initWithObjects: forKeys:]`
- Searching NSArray of NSDictionary objects
- SpriteKit – Creating a timer
- How can I add NSAppTransportSecurity to my info.plist file?
- Programmatically set the initial view controller using Storyboards
- Core Data: Quickest way to delete all instances of an entity
- SWrevealViewController without using navigationController
- Custom edit view in UITableViewCell while swipe left. Objective-C or Swift
- How do you draw a line programmatically from a view controller?
- How to create an umbrella framework in iOS SDK?
- Force Landscape ViewController in iOS 7
- Add a UIView above all, even the navigation bar
- What is “error in __connection_block_invoke_2: Connection interrupted” in iOS?
- Getting a normal looking unicode down arrow in a UILabel like this ⬇
- Formatting a UITextField for credit card input like (xxxx xxxx xxxx xxxx)
- Xcode 7 UI Testing: how to dismiss a series of system alerts in code
- How to write an Objective-C Completion Block
- UIWebView webpage caching for offline viewing
- What is the difference between UIApplication.sharedApplication.delegate.window and UIApplication.sharedApplication.keyWindow?
- How do I calculate the UILabel height dynamically [duplicate]