registerList

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

Deprecated: [register] is obsolete with 1.3.50 typeOf feature

Set the mapping from List to mapper.

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

Deprecated: [register] is obsolete with 1.3.50 typeOf feature

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