1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 3 #pragma once 4 5 #include "http_response.hpp" 6 7 #include <nlohmann/json.hpp> 8 9 #include <string> 10 11 namespace json_html_util 12 { 13 14 void dumpHtml(std::string& out, const nlohmann::json& json); 15 void prettyPrintJson(crow::Response& res); 16 17 } // namespace json_html_util 18