decodeFromConfig

fun <T> decodeFromConfig(deserializer: DeserializationStrategy<T>, config: Config): T

Decodes the given config into a value of type T using the given serializer.