read

inline fun <T : Any> read(): T

Reads the configured source as T.


fun <T : Any> read(clazz: KClass<T>): T

Reads the configured source as clazz.