There are some good open source libraries for parsing JSON and XML available for iOS devices. However, if a situation arrives where you cannot use on of those libraries or you just want to understand everything that’s going on I have found a tutorial you may want to check out.
In the tutorial Matt Gallagher provides a collection of basic classes for XML and JSON parsing along with a good explanation of his thoughts when developing those classes.
You can find the tutorial here:
http://cocoawithlove.com/2011/05/classes-for-fetching-and-parsing-xml-or.html
A good read for those looking to understand how to communicate with web services using Cocoa Touch.
©2011 iPhone, iOS 4, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.