pub fn render(resp: &Response, json: bool) -> StringExpand 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.