Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-datetime
0.6.1
common
switch theme
search in API
kotlinx-datetime
/
kotlinx.datetime.serializers
/
DateBasedDateTimeUnitSerializer
/
findPolymorphicSerializerOrNull
find
Polymorphic
Serializer
Or
Null
@
InternalSerializationApi
open
override
fun
findPolymorphicSerializerOrNull
(
decoder
:
CompositeDecoder
,
klassName
:
String
?
)
:
DeserializationStrategy
<
DateTimeUnit.DateBased
>
?
(
source
)
@
InternalSerializationApi
open
override
fun
findPolymorphicSerializerOrNull
(
encoder
:
Encoder
,
value
:
DateTimeUnit.DateBased
)
:
SerializationStrategy
<
DateTimeUnit.DateBased
>
?
(
source
)