Library:RapidJSON
| Vendor | Tencent |
|---|---|
| License | MIT |
| Website | https://github.com/Tencent/rapidjson |
| On this wiki | Facts · Code · Notes · Topics |
RapidJSON is a header-only MIT C++ JSON library from Tencent; it has no exception strings but its parse error text table ("Missing a comma or '}' after an object member.") and RAPIDJSON_VERSION_STRING identify it.
Identification
Header-only. Error codes live in rapidjson/error/error.h; GetParseError_En in error/en.h maps them to English texts (see Fact:RapidJSON/string/Parse error texts). Most programs only store the numeric ParseErrorCode and offset, so the texts appear only if the table is linked; games often skip it. Also look for rapidjson:: in RTTI/mangled names (GenericDocument, GenericValue, MemoryPoolAllocator, CrtAllocator).
Version: RAPIDJSON_MAJOR_VERSION 1, MINOR 1, PATCH 0 at the checked commit (the last release is 1.1.0 from 2016; development moved on without a new tag), so a version string is not informative.
Pitfalls
Documents use a pool allocator and in-situ parsing can modify the input buffer; do not expect the source text intact after parse.
Code & repositories
- https://github.com/Tencent/rapidjson (MIT)
- https://github.com/Tencent/rapidjson @
24b5e7a8b27f42fa16b96fc70aade9106cf7102f· license: MIT (read from license.txt; GitHub's detector did not classify it)
Parse error text table and version macros.
Tested on: source read, not run: source read · checked 2026-10-18; last activity 2025-02-05