What is the best way to pass data to an iPhone from a server through http? CSV, XML, JSON, … ?
a) I am required to pass three alpha-numeric (40 char max) strings
b) I am required to pass a key-value pair array
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are libraries for use for all of the formats and they are all easy to implement. Go with whichever is easiest for your server to provide.
If you need key/value pairs, you could also send it as a plist.