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>
-struct ModStoreMod;
-struct ModStoreModDetails;
+Json::Value fetchJsonValue(const std::string &url,
+ std::vector<std::string> *extra_headers);
-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);