Skip to main content

rows_to_processed_result

Function rows_to_processed_result 

Source
pub fn rows_to_processed_result(rows: Vec<Value>) -> ProcessedResult
Expand description

Builds a ProcessedResult from a stream of flat JSON-object rows.

Used by callers that receive rows as serde_json::Value (e.g. the REST SoF runner streams) and want to feed them through the shared output formatters. Column order is taken from the first row’s key order; subsequent rows fill in missing keys as None.