Ed Tanous | a115d87 | 2023-06-12 17:38:05 -0700 | [diff] [blame] | 1 | #pragma once |
2 | |||||
Ed Tanous | 61e349a | 2023-05-31 11:57:43 -0700 | [diff] [blame] | 3 | #include "http_response.hpp" |
4 | |||||
Ed Tanous | 57fce80 | 2019-05-21 13:00:34 -0700 | [diff] [blame] | 5 | #include <nlohmann/json.hpp> |
6 | |||||
Ed Tanous | 61e349a | 2023-05-31 11:57:43 -0700 | [diff] [blame] | 7 | #include <string> |
Ed Tanous | 57fce80 | 2019-05-21 13:00:34 -0700 | [diff] [blame] | 8 | |
9 | namespace json_html_util | ||||
10 | { | ||||
11 | |||||
Ed Tanous | 61e349a | 2023-05-31 11:57:43 -0700 | [diff] [blame] | 12 | void dumpHtml(std::string& out, const nlohmann::json& json); |
13 | void prettyPrintJson(crow::Response& res); | ||||
Ed Tanous | 57fce80 | 2019-05-21 13:00:34 -0700 | [diff] [blame] | 14 | |
15 | } // namespace json_html_util |