···198198/// // -> Response(200, [#("content-type", "application/json")], Text(body))
199199/// ```
200200///
201201-pub fn json_response(html: StringBuilder, status: Int) -> Response {
202202- HttpResponse(status, [#("content-type", "application/json")], Text(html))
201201+pub fn json_response(json: StringBuilder, status: Int) -> Response {
202202+ HttpResponse(status, [#("content-type", "application/json")], Text(json))
203203}
204204205205/// Set the body of a response to a given HTML document, and set the