Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to do json parsing in iphone

Tags:

iphone

i am using json parsing in my application and this is my json data is as follow :

{"response" : {"success":false,"error": {"code":7,"description":"You are not logged in"}}}

and i want description means "You are not logged in" i my string so how can i do that please help me.....

like image 561
KETAN Avatar asked Dec 19 '25 14:12

KETAN


1 Answers

Check the blog post with sample code and step by step parsing of JSON.

http://www.xprogress.com/post-44-how-to-parse-json-files-on-iphone-in-objective-c-into-nsarray-and-nsdictionary/

http://pessoal.org/blog/2008/12/12/iphone-sdk-parsing-json-data/

http://mobileorchard.com/tutorial-json-over-http-on-the-iphone/

like image 78
ChandreshKanetiya Avatar answered Dec 21 '25 05:12

ChandreshKanetiya



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!