【C++】問題解決:/usr/include/rapidjson/document.h:1497: rapidjson::GenericValue<Encoding, Allocator>& rapidjson::GenericValue<Encoding, Allocator>::operator[](rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]: Assertion `IsArray()' failed.

紀錄 rapidjson「IsArray() failed」斷言錯誤的解法 — 存取的位置不是 Array,需驗證資料結構是否符合預期。