optionalEntry

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

Gets an optional entry Provider for a value of type T under path, whose value will be null if the entry does not exist or could not be deserialized to T.


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

Gets an optional entry Provider for a value of type under path, whose value will be null if the entry does not exist or could not be deserialized to type.


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

Gets an optional entry Provider for a value of type T under the first existing path from paths, whose value will be null if no entry exists or could not be deserialized to T.


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

Gets an optional entry Provider for a value of type under the first existing path from paths, whose value will be null if no entry exists or could not be deserialized to type.