rapidjson
rapidjson copied to clipboard
A fast JSON parser/generator for C++ with both SAX/DOM style API
Fix constexpr build error when compiling using /W4 + /WX flag for MVC and C++17
Cmake in build file to generate makefile,An error is reported when make error is : base class 'struct rapidjson::internal::BoolType' have a non virtual destructor - [ ] #2043
CodeSonar [1] complains about writing to NULL pointers inside document.h: SetObjectRaw(), SetArrayRaw(), and SetStringRaw(). [1] https://www.grammatech.com/codesonar-cc
ClearStack() function in document.h misses check allocator type. This would cause memory leak if parse failed. Such as following code: ```c++ int main() { if (1) { rapidjson::Document doc; auto&...
Adapted typedefs in `document.h` to correspond to declarations in `fwd.h`. Fixes https://github.com/Tencent/rapidjson/issues/2086
@miloyip Hi, I think you will like features. These are different overloads and they will be called in different ways. ```cpp GenericValue& operator[](SizeType index) ``` ```cpp const GenericValue& operator[](SizeType index)...
Variables of floating point types that have non-normal values, such as `INFINITY` and `NAN`, cannot be parsed by `GenericDocument::Parse(const Ch* str)` even if the flag `kParseNanAndInfFlag` is set, and that's...
This patch enables the use of GTest from more locations than `../thirdparty/gtest` and `/usr/src/gtest`. Tested on Linux with cmake-3.25. If `RAPIDJSON_BUILD_TESTS` is `ON` but GTest was not found by the...
These pull requests contain the compiler warnings I encountered during my work.