read

abstract fun read(key: String): T?

Reads a single value for the given key from the data of this config.


abstract fun read(key: String, def: T): T?

Reads a single value for the given key from the data of this config. If no value was found, this function will return the given def.