TheLearner
TheLearner

Reputation: 19507

How to use Json parser/generator for objective-c

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.

Upvotes: 0

Views: 1220

Answers (1)

taskinoor
taskinoor

Reputation: 46027

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.

Upvotes: 2

Related Questions