if (fieldClass == List.class || fieldClass == ArrayList.class) {
Type fieldType = fieldInfo.getFieldType();
if (fieldType instanceof ParameterizedType) {
Type itemType = ((ParameterizedType) fieldType).getActualTypeArguments()[0];
if (itemType == String.class) {
return new ArrayListStringFieldDeserializer(mapping, clazz, fieldInfo);
}
}
return new ArrayListTypeFieldDeserializer(mapping, clazz, fieldInfo);
}