AS3 to Cocoa touch: JSON (Part 2: send JSON)
Posted in as3, cocoa touch, iphone, objective c on January 5th, 2009 by admin – 8 CommentsSo for part 2 of my tutorial about json. We are going to use json encoded data to transfer over http from your application to the backend server. There are some things you have to keep in mind if you encode json in cocoa touch using the json framework (which I’ve used in the previous tutorial). But we will go deeper on that subject later on.
So for this part of the tutorial my usercase will be. Send a couple of Person objects over http using json to encode and get an xml in return which lists the Person objects in xml form. This maybe not a practical usercase but it illustrates the point of sending json over http. read more »