Header-only TOML parser and serializer library for C++17
Header-only TOML config file parser and serializer for C++17
tomlplusplus$ #include <toml++/toml.h>
auto tbl = toml::parse_file("config.toml");$ auto name = tbl["name"].value_or("default");
auto count = tbl["count"].value_or(0);$ toml::table tbl;
tbl.insert("key", "value");
std::cout << tbl;