ConfigSources

An ordered collection of configuration sections.

Earlier sections have higher priority. Missing values fall through to later sections, and values missing from every section use the mapped class's constructor defaults.

Functions

Link copied to clipboard
inline fun <T : Any> convert(): T

Converts the layered sections to an instance of T.

fun <T : Any> convert(clazz: KClass<T>): T

Converts the layered sections to an instance of clazz.