aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--json/jsonwrite.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/json/jsonwrite.cc b/json/jsonwrite.cc
index 30bee107..46cb0b72 100644
--- a/json/jsonwrite.cc
+++ b/json/jsonwrite.cc
@@ -50,7 +50,7 @@ void write_parameter_value(std::ostream &f, const Property &value)
if (value.size() == 32 && value.is_fully_def()) {
f << stringf("%d", value.as_int64());
} else {
- f << get_string(value.as_string());
+ f << get_string(value.to_string());
}
}