说明: iphone上关于JSON的使用,代码主要介绍了JSON的格式,以及逆向的操作,字典转JSON。
字典中对KVC的模式的使用,以及如果KVC操作不到出错的弥补处理。
(iphone on the use of JSON, JSON code that describes the format, and reverse operation, the dictionary turn JSON. KVC model of dictionary use, and if not wrong to make up for KVC operation processing.)
文件列表:
Json
....\.DS_Store,6148,2011-08-19
....\Classes
....\.......\Academic.h,266,2011-08-19
....\.......\Academic.m,392,2011-09-14
....\.......\AcademicPerson.h,277,2011-08-19
....\.......\AcademicPerson.m,202,2011-08-19
....\.......\CDCPerson.h,673,2011-07-19
....\.......\CDCPerson.m,1510,2011-07-19
....\.......\JSON
....\.......\....\JSON.h,2297,2009-08-02
....\.......\....\NSObject%2BSBJSON.h,2561,2009-08-02
....\.......\....\NSObject%2BSBJSON.m,2206,2009-09-12
....\.......\....\NSString%2BSBJSON.h,2326,2009-08-02
....\.......\....\NSString%2BSBJSON.m,2173,2009-09-12
....\.......\....\SBJSON.h,2797,2009-08-02
....\.......\....\SBJSON.m,6844,2009-08-02
....\.......\....\SBJsonBase.h,2946,2009-08-02
....\.......\....\SBJsonBase.m,2753,2009-08-02
....\.......\....\SBJsonParser.h,3083,2009-08-02
....\.......\....\SBJsonParser.m,14031,2009-08-02
....\.......\....\SBJsonWriter.h,4416,2009-08-02
....\.......\....\SBJsonWriter.m,7811,2009-08-02
....\.......\JsonAppDelegate.h,501,2011-08-19
....\.......\JsonAppDelegate.m,7065,2011-08-19
....\.......\JsonViewController.h,226,2011-07-19
....\.......\JsonViewController.m,1450,2011-07-19
....\.......\test.txt,68,2011-07-19
....\Json-Info.plist,909,2011-07-19
....\Json.xcodeproj
....\..............\project.pbxproj,17534,2011-08-20
....\..............\project.xcworkspace
....\..............\...................\contents.xcworkspacedata,149,2011-08-20
....\..............\...................\xcuserdata
....\..............\...................\..........\zltianhen.xcuserdatad
....\..............\...................\..........\.....................\UserInterfaceState.xcuserstate,28997,2011-08-20
....\..............\xcuserdata
....\..............\..........\zltianhen.xcuserdatad
....\..............\..........\.....................\xcdebugger
....\..............\..........\.....................\..........\Breakpoints.xcbkptlist,1475,2011-08-20
....\..............\..........\.....................\xcschemes
....\..............\..........\.....................\.........\Json.xcscheme,2684,2011-08-20
....\..............\..........\.....................\.........\xcschememanagement.plist,476,2011-08-20
....\..............\zltianhen.mode1v3,40940,2011-08-20
....\..............\zltianhen.pbxuser,13405,2011-08-20
....\JsonViewController.xib,6713,2011-07-19
....\Json_Prefix.pch,177,2011-07-19
....\main.m,355,2011-07-19
....\MainWindow.xib,19973,2011-07-19
__MACOSX
........\Json
........\....\._.DS_Store,82,2011-08-19
........\....\Classes
........\....\.......\._Academic.h,171,2011-08-19
........\....\.......\._Academic.m,171,2011-09-14
........\....\.......\._AcademicPerson.h,171,2011-08-19
........\....\.......\._CDCPerson.h,171,2011-07-19
........\....\.......\._CDCPerson.m,171,2011-07-19
........\....\.......\._JSON,229,2009-09-12
........\....\.......\._JsonAppDelegate.h,171,2011-08-19
........\....\.......\._JsonAppDelegate.m,171,2011-08-19
........\....\.......\._test.txt,171,2011-07-19
........\....\.......\JSON
........\....\.......\....\._JSON.h,229,2009-08-02
........\....\.......\....\._NSObject%2BSBJSON.h,229,2009-08-02
........\....\.......\....\._NSObject%2BSBJSON.m,229,2009-09-12
........\....\.......\....\._NSString%2BSBJSON.h,229,2009-08-02
........\....\.......\....\._NSString%2BSBJSON.m,229,2009-09-12
........\....\.......\....\._SBJSON.h,229,2009-08-02
........\....\.......\....\._SBJSON.m,229,2009-08-02
........\....\.......\....\._SBJsonBase.h,229,2009-08-02
........\....\.......\....\._SBJsonBase.m,229,2009-08-02
........\....\.......\....\._SBJsonParser.h,229,2009-08-02
........\....\.......\....\._SBJsonParser.m,229,2009-08-02
........\....\.......\....\._SBJsonWriter.h,229,2009-08-02
........\....\.......\....\._SBJsonWriter.m,229,2009-08-02