aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Json.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 22:12:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 22:12:18 +0200
commit343df6eb8792b3efd33f4426766865ae03ccf316 (patch)
treeb2c05c7adb4774a88d15a46ae040c3428194ed64 /lib/Json.cpp
parentd521d4f0c5ad3b663a322453c5798626081cb1f3 (diff)
downloaddabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.gz
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.bz2
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.zip
Add events
Diffstat (limited to 'lib/Json.cpp')
-rw-r--r--lib/Json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Json.cpp b/lib/Json.cpp
index 9bda8c3..da5b078 100644
--- a/lib/Json.cpp
+++ b/lib/Json.cpp
@@ -67,7 +67,7 @@ namespace json {
ss << "\"" << escape_json(element.first) << "\": ";
- const auto& value = element.second.data;
+ const auto& value = element.second.v;
if (std::holds_alternative<std::string>(value)) {
ss << "\"" << escape_json(std::get<std::string>(value)) << "\"";
}