aboutsummaryrefslogtreecommitdiff
path: root/include/Json.hpp
blob: ae841413f45e3919899b89f7799f3e92fe100038 (plain)
1
2
3
4
5
6
7
8
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);
}