git repo:https://github.com/nlohmann/json
nlohmann::json只需要一个头文件json.hpp, 不需要编译成lib, 直接放到项目中即可使用
在右侧找到release 点击进去后,下载json.hpp即可
例如下面代码
/* modern c++ json test */ #include <iostream> #include "json.hpp"
京公网安备 11010502049817号