In the project often encounter parsing JSON situation, if a classmate want to parse JSON, then Jsonkit can be a good choice.
The address of Jsonkit in Git is: https://github.com/johnezang/JSONKit
Since the project has not been updated for a long time, the MRC is still in use, so there are several changes to be made when using it:
1. Set the Jsonkit to not support arc mode, in the build phases, Compile Sources Select File Double-click, add "-fno-objc-arc" parameter in the dialog box (without quotation marks).
2. The following alarms will still appear at the time of compilation:
Error message: Error:assignment to Objective-c's Isa is deprecated in favor of Object_setclass () Workaround: (1) Modify the No. 680 line of the jsonkit.m file, modify it to Object_setclass (array, _jkarrayclass), and (2) modify the No. 931 line of the jsonkit.m file and modify it to Object_setclass ( Dictionary, _jkdictionaryclass); 3. Done.
Jsonkit using settings in your project (arc and method updates)