Fix typo in jsonwrite

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-08-07 14:22:03 +01:00
parent eaef3b600e
commit 90364fc3fa

View File

@ -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());
}
}