fix toml encoder

This commit is contained in:
MihailRis
2025-06-29 12:33:57 +03:00
parent d9d65a169c
commit 9cd95bb0eb
3 changed files with 54 additions and 2 deletions
+3
View File
@@ -26,6 +26,9 @@ TEST(TOML, EncodeDecode) {
object["score"] = score;
object["visible"] = visible;
object["data"] = srcBytes;
object["values"] = dv::list({
5, 3, std::string("hello"), dv::object({{"number", 1234}})
});
text = toml::stringify(object, "");
std::cout << text << std::endl;