aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Json.cpp
diff options
context:
space:
mode:
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)) << "\"";
}