I used following code to get response from JSON response. It working very nicely in ios5 but for ios4 it is not working. So what will be solution in ios4.
N
@python: Regarding your comment about ARC. You can actually turn off ARC for specific files created with MRC. Go to Project settings --> navigate to "Build Phases" tab --> under "Compile Sources" tab --> write as "-fno-objc-arc" in the Complier Flags" section for the specific file for which you don't want to use ARC.
NSJSONSerialization is only support ios 5 , if you want json for both ios 4 and ios 5 , use jsonKit
NSJSONSerialization
since it is only supported on iOS 5.0+ and Mac OS X 10.7+. I think you can also have a try with third-party JSON Library
>>>Edited
Jsonkit for both iOS4 and iOS5
Hope, this will help you..