views:

33

answers:

1

Hi all,

Does anyone have a tutorial of how to use this Json framework. It basically allows parsing and generating of json but I have no idea how to use it!

I need to build up a Json request send it to the webservice and then parse the response.

+2  A: 

Check the followings :

  1. Tutorial: JSON Over HTTP On The iPhone
  2. JSON Framework for iPhone. Don't forget to check part 2.

Seems that in order to create a JSON string from Obj-C object, you need to use SBJsonWriter class. Though I have not tested it myself.

taskinoor
Hi there once again thanks for your help unfortunately I need to know how to build jSon requests in Objective C - these examples assume you are just downloading and parsing the data
TheLearner
I just added the source in the project.
taskinoor
sorry i misinterpreted ur comment. let me check if i can provide u a sample to build request. i used it for parsing only :-(
taskinoor
please check the edit.
taskinoor