summaryrefslogtreecommitdiff
path: root/src/convert_json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert_json.h')
-rw-r--r--src/convert_json.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/convert_json.h b/src/convert_json.h
index d8825acdc..2c094a946 100644
--- a/src/convert_json.h
+++ b/src/convert_json.h
@@ -20,8 +20,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once
#include <json/json.h>
+#include <ostream>
Json::Value fetchJsonValue(const std::string &url,
std::vector<std::string> *extra_headers);
+void fastWriteJson(const Json::Value &value, std::ostream &to);
+
std::string fastWriteJson(const Json::Value &value);