diff --git a/src/coders/json.cpp b/src/coders/json.cpp index 29b9201c..73c8a579 100644 --- a/src/coders/json.cpp +++ b/src/coders/json.cpp @@ -39,6 +39,7 @@ void stringifyObj(JObject* obj, string indentstr, bool nice); +#include void stringify(Value* value, stringstream& ss, int indent, @@ -71,7 +72,6 @@ void stringify(Value* value, } else if (value->type == valtype::boolean) { ss << (value->value.boolean ? "true" : "false"); } else if (value->type == valtype::number) { - ss << std::fixed; ss << std::setprecision(15); ss << value->value.decimal; } else if (value->type == valtype::integer) {