addMapCreator

inline fun <M : MutableMap<Any?, Any?>> addMapCreator(noinline creator: (size: Int) -> M)

Adds a way to create a specific MutableMap type when using the built-in map serializer.