#include #include #include "json/json.hpp" int main(int argc, char *argv[]) { nlohmann::json j; j["pi"] = 3.1415; j["fib"] = {1, 1, 2, 3, 5, 8, 13}; j["msg"] = "in a bottle"; j["jclone"] = j; std::cout << j.dump(4) << std::endl; return 0; }