pub fn is_json_output() -> bool
Returns true when the operator passed --json. List commands check this and dispatch to a JSON serializer instead of their human- readable renderer.
--json