String fieldName = exporter.getFieldName(fieldIndex);
String fieldType = exporter.getFieldType(fieldIndex);
Object fieldValue = exporter.getField(fieldName);
if (fieldValue == null && !exporter.getFieldNullable(fieldIndex)) {
throw new InvalidFieldException(
"Exporter " + exporter.getClass().getCanonicalName() +
" didn't return field for " + fieldName);
}
try {
AnalysisUtility.putJsonValueFormatted(row, fieldName, fieldValue, fieldType);