Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

divyaprasad85

macrumors newbie
Original poster
Aug 31, 2010
10
0
How to parse these JSON Data in iPhone.

{"Result":{"Data":[{"Status":"Success"}]}}

Please reply


Thank You,
 
You have a number of options

1) Use various NSString methods (componentsSeparatedByString: a few times would basically work)

2) Use NSScanner to scan the string

3) Use an external regexp library

Note I'm not going to write "example" or "sample" code for any of this
 
Thank You for reply

You have a number of options

1) Use various NSString methods (componentsSeparatedByString: a few times would basically work)

2) Use NSScanner to scan the string

3) Use an external regexp library

Note I'm not going to write "example" or "sample" code for any of this

Thank You reply
Another option is to use TouchJSON.
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.