configureMap

inline fun <MapType : Map<*, *>> configureMap(noinline convert: (List<Pair<Any?, Any?>>) -> MapType)

Configures how generated entries are materialized as map type MapType.


fun configureMap(type: KType, convert: (List<Pair<Any?, Any?>>) -> Map<*, *>)

Deprecated (with error)

Use the reified configureMap<MapType>(convert) overload.

Configures how generated entries are materialized as map type type.

This low-level overload is intended for callers that already carry a KType. The caller must keep type and the converter type consistent.