rapidjson
rapidjson copied to clipboard
A fast JSON parser/generator for C++ with both SAX/DOM style API
As @hkarel pointed out in #2033, the current implementation of `GenericValue::operator[]()` calls `GenericValue::GenericValue()` multiple times when there's no such a member. There's no real issue with that, but it's not...
Gtest requires C++14, but Rapidjson is set to use C++11 and enforces it. This breaks building tests. (Edited, because earlier report is irrelevant.)
Currently the CMake is modifying the [CMake user's package registry](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#user-package-registry) by doing: ```cmake # Export package for use from the build tree EXPORT( PACKAGE ${PROJECT_NAME} ) ``` the above hints...
I was following https://lmdeploy.readthedocs.io/en/latest/build.html for LMDeploy compilation. As the following install doesn't help ``` sudo yum install rapidjson-devel ``` I pick up with source installation, but it shows a CMake...
The PutUnsafe() function can be found via ADL lookup. If ADL lookup rules do not apply, the default implementation of PutUnsafe() is used. The default implementation is a template that...
I used rapidjson in linux, and this error happened while I do cmake, what is wrong? `/rapidjson/document.h:2334:15: error: expected unqualified-id before ‘bool’ bool Bool(bool b) { new (stack_.template Push()) ValueType(b);...
One more c++ 17 feature. Defined macro in rapidjson.h.
When building the perftest, schematest.cpp was yielding an error in relation to freeing a stack object. This change fixes that by explicitly passing in nullptr to CrtAllocator::Free if we don't...
This error comes from schematest.cpp line 129: ``` char jsonBuffer[65536]; MemoryPoolAllocator jsonAllocator(jsonBuffer, sizeof(jsonBuffer)); ``` The destructor for MemoryPoolAllocator does the following: ``` if (shared_->ownBuffer) { baseAllocator_->Free(shared_); } ``` When building...
Is it possible to release a new version of rapidjson? For example starting from version 2.0 The last one released (v1.1) was in 2016. Many patches and updates have been...