summaryrefslogtreecommitdiff
path: root/include/json_html_serializer.hpp
blob: 95fab04cd3f188e7db5f30f6db10b08746fef6fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright OpenBMC Authors
#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