aboutsummaryrefslogtreecommitdiff
path: root/include/Json.hpp
blob: 8cbd5d4de23543f7ab727b22a07497fa21a6f02a (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include "DownloadUtils.hpp"
#include <rapidjson/fwd.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);
}