if you just want to read a local file it's very si...
# getting-started
d
if you just want to read a local file it's very simple:
Copy code
object ConfigReader {
    fun readConfig(configFilePath: String) = ObjectMapper(YAMLFactory()).apply {
        registerModule(KotlinModule())
    }.readValue(File(configFilePath), AppConfig::class.java)!!
}