Skip to main content

render_json

Function render_json 

Source
pub fn render_json(envelope: &Envelope) -> Result<String>
Expand description

Renders an envelope as pretty JSON.

HTML-sensitive characters are escaped so the output is safe to embed in browser-oriented logs or diagnostics without changing the JSON data model.