getMap

abstract fun getMap(path: String): Map<String, Any>

Gets the specified flat Map indexed by String configuration value. If the value is not set or not a valid Map, the default value provided by addDefault is returned. A key present without a value reads as an empty map. Entries without a value, lists and nested sections are skipped with a warning. Values are returned as String, whether loaded from the file, set or provided by addDefault: values loaded from the file as typed there (1.10 stays 1.10), other values converted with toString.

Parameters

path

The dot separated configuration value path