public static <T> RowMapper<Map<String, T>> getMapperForValueType(Class<T> valueType, ConfigRegistry config) {
        return config.get(ColumnMappers.class)
            .findFor(valueType)
            .map(GenericMapMapper::new)
            .orElseThrow(() -> new RuntimeException("no column mapper found for type " + valueType));
    }
Returns a {@link RowMapper} for a map with the given value type. The key type is {@link String}.

@param valueType A {@link Class} instance representing the value type for the {@link Map}
@param config    A {@link ConfigRegistry} instance
@param <T>       The value type
@return A {@link RowMapper} for a map from string to the given value type
core/src/main/java/org/jdbi/v3/core/mapper/GenericMapMapperFactory.java