From 3e575ac920e87c47805eb2f0a603dfbbfcbc3e9e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 24 Nov 2020 19:38:07 +0100 Subject: Start on mastodon/pleroma --- include/Json.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/Json.hpp (limited to 'include') diff --git a/include/Json.hpp b/include/Json.hpp new file mode 100644 index 0000000..ae84141 --- /dev/null +++ b/include/Json.hpp @@ -0,0 +1,9 @@ +#pragma once + +#include "DownloadUtils.hpp" +#include + +namespace QuickMedia { + const rapidjson::Value& GetMember(const rapidjson::Value &obj, const char *key); + DownloadResult download_json(rapidjson::Document &result, const std::string &url, std::vector additional_args, bool use_tor, bool use_browser_useragent = true, std::string *err_msg = nullptr); +} \ No newline at end of file -- cgit v1.2.3