How to parse json? Explain



How to parse json? Explain..

Answer / Pande Rajkumar Ayugyanarayan

To parse JSON in Apple iOS, use the JSONKit or SBJSON libraries. If you prefer built-in methods, use NSJSONSerialization class:

NSError *error;
id jsonData = [NSJSONSerialization JSONObjectWithData:yourData options:kNilOptions error:&error];

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Tell me what is iphone os?

1 Answers  


What is nsuserdefaults?

1 Answers  


What is retain in ios?

1 Answers  


What is the difference between release and autorelease?

1 Answers  


What is thread in ios?

1 Answers  


What is nonatomic?

1 Answers  


Explain stack and heap?

1 Answers  


Name the memory management rules and their related methods.

1 Answers  


What is strong in ios?

1 Answers  


What are the different store migration options? When are they used? How do they work? What is mapping model?

1 Answers  


How to convert MVC design pattern to MVVM design patterns

1 Answers  


What is appdelegate?

1 Answers  


Categories