private static <T> JsonToLogDataConverter<T> wrapIntoNullableConverter(
      JsonToLogDataConverter<T> converter) {
    return (source, context) -> {
      if (source == null || source.isNull() || source.isMissingNode()) {
        return null;
      }
      return converter.convert(source, context);
    };
  }
Converter to convert {@link JsonNode} to log data.

@param <T> to indicate the log data type
amoro-format-iceberg/src/main/java/org/apache/amoro/log/JsonToLogDataConverters.java