pub fn print_json<T: Serialize>(value: &T) -> Result<()>Expand description
Prints a value as one compact JSON line on stdout and flushes.
Bypasses the shell verbosity layer so --quiet cannot suppress structured
output the caller explicitly asked for.