Skip to main content

render_result

Function render_result 

Source
pub fn render_result(
    result: &ExecutionResult,
    format: &OutputFormat,
    jq_filter: Option<&str>,
) -> Result<(), Error>
Expand description

Renders an ExecutionResult to stdout in the given format.

ยงErrors

Returns an error if JQ filtering or serialization fails.