summaryrefslogtreecommitdiff
path: root/include/json_html_serializer.hpp
blob: a4bcdcb7f0adf6dd5b9e2c5563c23a610fdf866e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "http_response.hpp"

#include <nlohmann/json.hpp>

#include <string>

namespace json_html_util
{

void dumpHtml(std::string& out, const nlohmann::json& json);
void prettyPrintJson(crow::Response& res);

} // namespace json_html_util