blob: 95fab04cd3f188e7db5f30f6db10b08746fef6fe [file] [log] [blame]
Ed Tanous40e9b922024-09-10 13:50:16 -07001// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright OpenBMC Authors
Ed Tanousa115d872023-06-12 17:38:05 -07003#pragma once
4
Ed Tanous61e349a2023-05-31 11:57:43 -07005#include "http_response.hpp"
6
Ed Tanous57fce802019-05-21 13:00:34 -07007#include <nlohmann/json.hpp>
8
Ed Tanous61e349a2023-05-31 11:57:43 -07009#include <string>
Ed Tanous57fce802019-05-21 13:00:34 -070010
11namespace json_html_util
12{
13
Ed Tanous61e349a2023-05-31 11:57:43 -070014void dumpHtml(std::string& out, const nlohmann::json& json);
15void prettyPrintJson(crow::Response& res);
Ed Tanous57fce802019-05-21 13:00:34 -070016
17} // namespace json_html_util