strongOptionalEntry

inline fun <T : Any> Provider<ConfigProvider>.strongOptionalEntry(vararg path: String): Provider<T?>
inline fun <T : Any> ConfigProvider.strongOptionalEntry(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 due to SerializationException.


inline fun <T : Any> Provider<ConfigProvider>.strongOptionalEntry(vararg paths: List<String>): Provider<T?>
inline fun <T : Any> ConfigProvider.strongOptionalEntry(vararg paths: List<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 due to SerializationException.


fun <T : Any> Provider<ConfigProvider>.strongOptionalEntry(serializer: KSerializer<T>, vararg path: String): Provider<T?>
fun <T : Any> ConfigProvider.strongOptionalEntry(serializer: KSerializer<T>, vararg path: String): Provider<T?>

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


fun <T : Any> Provider<ConfigProvider>.strongOptionalEntry(serializer: KSerializer<T>, vararg paths: List<String>): Provider<T?>

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