pub fn print_json_success_with_warnings<T: Serialize>( data: T, warnings: Vec<JsonMessage>, ) -> Result<()>
Prints a successful JSON envelope with warnings to stdout.