registerList

inline fun <reified T : Any> registerList(
    mapper: KSerializer<T>
): Unit

Set the mapping from List to mapper.

inline fun <reified T : Any> registerList(): Unit

Set the mapping from List to it’s KSerializer. This method only works for non-parameterized types.