Reputation: 58097
What Format should data be in when going into a utility app from a server? JSON, XML or something else?
Edit:
I need to tell a client to tell his web guy to build me a web service or let me do it. I need to make sure I am asking for the right thing.
Upvotes: 0
Views: 85
Reputation: 12177
The best format is Apple's Plist format. The iPhone OS can quickly and easily parse this. It's faster and less memory intensive than XML.
Best of all, it requires no additional libraries or parsing code on the device.
Upvotes: 2
Reputation: 3861
There are good libraries for parsing and emitting both XML and JSON in Cocoa Touch. I recommend KissXML and either Stig Brautaset's JSON or TouchJSON.
Upvotes: 1