private Object convertField(
      JsonToLogDataConverter<T> fieldConverter, String fieldName, JsonNode field, Void context) {
    if (field == null) {
      if (failOnMissingField) {
        throw new JsonParseException("Could not find field with name '" + fieldName + "'.");
      } else {
        return null;
      }
    } else {
      return fieldConverter.convert(field, 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