entry

inline fun <T : Any> entry(vararg path: String): Provider<T>

Gets an entry Provider for a value of type T under path.

Throws

if the entry does not exist

if the entry could not be deserialized to T


fun <T : Any> entry(type: KType, vararg path: String): Provider<T>
fun <T : Any> entry(type: Type, vararg path: String): Provider<T>

Gets an entry Provider for a value of type under path.

Throws

if the entry does not exist

if the entry could not be deserialized to type


inline fun <T : Any> entry(vararg paths: Array<String>): Provider<T>

Gets an entry Provider for a value of type T under the first existing path from paths.

Throws

if no entry exists

if the entry could not be deserialized to T


fun <T : Any> entry(type: KType, vararg paths: Array<String>): Provider<T>
fun <T : Any> entry(type: Type, vararg paths: Array<String>): Provider<T>

Gets an entry Provider for a value of type under the first existing path from paths.

Throws

if no entry exists

if the entry could not be deserialized to type