Skip to main content

render_json

Function render_json 

Source
pub fn render_json(output: &CommandOutput) -> String
Expand description

Renders a CommandOutput as pretty-printed JSON, exactly matching the serde wire codec (round-trippable back into a CommandOutput).