pub fn print_scalar(value: impl Serialize + Display) -> Result<()>
Prints a scalar value: JSON envelope in --json mode, plain text otherwise.
--json