optionalEntry
open override fun <T : Any> optionalEntry(type: KType, vararg paths: List<String>): Provider<Nothing?>
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 due to SerializationException.
The returned provider will only be stored in a WeakReference in the parent provider.
open override fun <T : Any> optionalEntry(serializer: KSerializer<T>, vararg paths: List<String>): Provider<Nothing?>
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.
The returned provider will only be stored in a WeakReference in the parent provider.