51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef __CONVERT_JSON_H__
-#define __CONVERT_JSON_H__
+#pragma once
-#include "json/json.h"
+#include <json/json.h>
+#include <ostream>
-struct ModStoreMod;
-struct ModStoreModDetails;
+void fastWriteJson(const Json::Value &value, std::ostream &to);
-std::vector<ModStoreMod> readModStoreList(Json::Value& modlist);
-ModStoreModDetails readModStoreModDetails(Json::Value& details);
-
-Json::Value fetchJsonValue(const std::string &url,
- struct curl_slist *chunk);
-
-#endif
+std::string fastWriteJson(const Json::Value &value);