pub fn print_json<T: Serialize>(value: &T) -> Result<(), Error>Expand description
Pretty-print a serializable value as JSON to stdout. Used by list
commands when is_json_output is true. Errors here are surfaced
as a CLI error rather than a panic so the caller can render via
print_cli_error.