decodeConfigValue

abstract fun <E> decodeConfigValue(extractValueAtPath: (conf: Config, path: String) -> E): E(source)

Decodes the value at the current path from the input. Allows to call methods on a Config instance.

Return

result of lambda execution

Parameters

E

type of value

extractValueAtPath

lambda for extracting value, where conf - original config object, path - current path expression being decoded.