介紹 rapidjson 取得檔案型態的方法 — 用 `.GetType()` 結合 `kTypeNames[]` 陣列解析 JSON 文件類型。
紀錄「Document was not declared」錯誤 — 缺少 `#include "rapidjson/document.h"`。
紀錄 rapidjson GenericValue「is private」— 用參考取代拷貝,`Value &v = document["key6"]`。
紀錄 rapidjson「IsString() failed」斷言錯誤的解法 — `GetString()` 前需驗證該值確實是 String 型態。
紀錄 rapidjson「IsArray() failed」斷言錯誤的解法 — 存取的位置不是 Array,需驗證資料結構是否符合預期。
紀錄 rapidjson「invalid initialization」— Document 與 Value 型態不同,用 `CopyFrom()` 轉換。
紀錄 `std::ifstream` 「incomplete type」錯誤的解法 — 缺少 `#include <fstream>` 標頭檔。
紀錄 rapidjson 產生 JSON 檔案的範本 — 包含基本型態、1D/2D 陣列、物件的寫入與讀取方法。
紀錄用 Python 產生 JSON 檔案的程式模板 — json.dumps、寫入檔案、資料結構。
解決 Docker nvidia runtime 錯誤 — 檢查並還原 /etc/docker/daemon.json 的 runtimes 設定。