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