Skip to main content

is_json_output

Function is_json_output 

Source
pub fn is_json_output() -> bool
Expand description

Returns true when the operator passed --json. List commands check this and dispatch to a JSON serializer instead of their human- readable renderer.