pub fn render(transcript: &Transcript) -> Result<String>Expand description
Serialise transcript to a pretty-printed JSON string.
Errors only if serde_json::to_string_pretty fails (in practice
unreachable for Transcript, since every field is JSON-serialisable,
but the API returns Result to keep the contract uniform across
formats).