Skip to main content

format_exec_result

Function format_exec_result 

Source
pub fn format_exec_result(
    result: &Value,
    format: &str,
    fields: Option<&str>,
) -> String
Expand description

Render a module execution result.

ยงArguments

  • result โ€” serde_json::Value (the output field from the executor response)
  • format โ€” "table", "json", "csv", "yaml", or "jsonl"
  • fields โ€” optional comma-separated dot-paths to select from the result