rapidjson
rapidjson copied to clipboard
A fast JSON parser/generator for C++ with both SAX/DOM style API
I'm using rapidjson in a larger project over here: https://github.com/valhalla/valhalla I recently updated to master so that I could make use of `RAPIDJSON_ASSERT_THROWS` which removes `clang` warnings when you override...
FIND_PATH will search for satisfying directories in $PATH before any of the PATHS variables (i.e. ${GTEST_SEARCH_PATH}) [1]. So if you have any directory in your $PATH that contains a CMakeLists.txt...
Add support for reading directly from gzipped file: Example: Input json: ``` {"a": 1, "x": 10, "y": [1,2,3], "m": {"c": "z"}} ``` Test: ``` #include #include #include "rapidjson/document.h" #include "rapidjson/gzfilereadstream.h"...
Indeed this is making the assumption that the build machine is also the same (or in the case of -mcpu similar to) the CPU found on the run machines. In...
Check for the schemaDocument variable validity before dereferencing it This line indicates, that the variable 'schemaDocument' could be null: https://github.com/Tencent/rapidjson/blob/master/include/rapidjson/schema.h#L474 It means that this should be checked always before dereferencing...
Support for wchar_t functionality is not provided in libstdc++ if only partial support is provided by the C library. This is needed to support compiling for RISC OS.
Add podspec to be able to fetch latest changes using `pod 'rapidjson', :git => "https://github.com/miloyip/rapidjson.git"`
我在用SAX风格解析 JSON网络流时,按照文档介绍的方法“使用者可以在另一线程解析 JSON,并通过阻塞输入流去暂停。”,我在stream.take()中阻塞。发现网络流已经接受了一个完整的JSON格式时,因为take()中的阻塞,reader.parse()并不能及时回调 bool EndObject(SizeType memberCount)。
Fix for warnings produced with `-Wstrict-overflow=5` on gcc 9.3.