aboutsummaryrefslogtreecommitdiff
path: root/include/Json.hpp
blob: 9e1e706f61af0717135256a0de8f82b8dfd886d8 (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_browser_useragent = true, std::string *err_msg = nullptr);
}