diff options
Diffstat (limited to 'http_connection.h')
-rw-r--r-- | http_connection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_connection.h b/http_connection.h index e2c21ff..9166fb4 100644 --- a/http_connection.h +++ b/http_connection.h @@ -62,7 +62,7 @@ namespace flask if (res.body.empty() && res.json_value.t == json::type::Object) { - res.body = json::encode(res.json_value); + res.body = json::dump(res.json_value); } if (!statusCodes.count(res.code)) |