Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Library:RapidJSON

From ReverseEngineering.wiki
Library
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