Skip to main content

parse_command_output

Function parse_command_output 

Source
pub fn parse_command_output(
    params: &Value,
) -> Result<CommandOutputFrame, String>
Expand description

Parse a command.output JSON-RPC notification’s params.

Accepts both {"request_id": "...", "event": {"kind": "..."}} and the flat shape {"request_id": "...", "kind": "...", ...} for tolerance.