c++ 占位符和序列化

Lost World ! / 2023-08-18 / 原文


1
#include <nlohmann/json.hpp> 2 #include <iostream> 3 #include <iomanip> 4 5 using json = nlohmann::json; 6 7 int main() 8 { 9 std::cout << std::setw(4) << json::meta() << std::endl; 10 }

https://json.nlohmann.me/integration/package_managers/