diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Json.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
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 <rapidjson/document.h> + +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<CommandArg> additional_args, bool use_tor, bool use_browser_useragent = true, std::string *err_msg = nullptr); +}
\ No newline at end of file |