Is there an overview of all functions that the compiler will generate for Serializable classes? I’d like to use a DI framework to inject some dependencies into the deserialized data class so I’d probably want to wrap the generated serializer in another serializer that is capable of receiving the injected types. Also does using
@Serializable(with=Foo::class)
where
Foo
is initialized at runtime work? Or do I need to use a ContextualSerializer in this case?