资源说明:A simple recursive descent JSON parser
This program is a simple recursive descent parser for the JSON data format. Currently it does not support unicode characters (as it should) and some of the control characters for strings are not yet implemented. Other than that it is fairly complete. There are two main modules the parser itself defined in JSONParser.h and JSONParser.cpp as well as a representation for JSON objects defined in JSON.h and JSON.cpp. Currently the JSON objects are in the simplest possible form I could make them work. For instance the JSON members are not implemented as a map, although it makes a lot of sense to do so, but as a linked list. Probably the next thing that will happen will be this change. I should also mention that simple values (strings, numbers, literals) are all represented by strings. For more information about JSON take a look at: http://www.json.org COMPILATION The source directory includes a CMakeLists.txt. I'm not using any fancy CMake commands so any recent version of CMake should be able to process it. In order to compile do the following: $ cd
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。