Since there’s a reified `serializer<T>()` that thr...
# serialization
m
Since there’s a reified
serializer<T>()
that throws if no serializer is found, why isn’t there a
serializerOrNull<T>()
as well? I know there’s a
serializerOrNull(KType)
, but as I understand it,
typeOf<T>()
relies on reflection and has performance implications.
e
typeOf<T>()
is an intrinsic, what performance implications?
it does require constructing
kotlin.reflect
implementation objects but it isn't runtime reflection
1