Convertor form JSON to Objective C like SudzC

381 views Asked by At

Is there any convertor that used to convert JSON web-service to Objective C code like Sudzc that use SOAP protocol.

1

There are 1 answers

0
Anoop Vaidya On BEST ANSWER
NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData:data options:kNilOptions error:&error];

Also if you want to have more detail.... check these

  1. Convert the JSON string into an NSDictionary using tools like yajl, JSONKit or iOS5 JSON

  2. Use a tool like Jastor to convert this NSDictionary to a real Objective-C class with typed properties, nested properties, arrays etc.

  3. Apple documentation.