Skip to main content

render

Function render 

Source
pub fn render(resp: &Response, json: bool) -> String
Expand description

--json emits strict RFC-8259 JSON via serde_json (escaping, surrogates, control characters all handled). The default is the canonical wire form that an agent would consume directly.