Tomas Kormanak
05/27/2022, 1:46 PM@Serializable
but I would like to use different serializer than default one but I can't change the library code.Emil Kantis
05/27/2022, 1:51 PMTomas Kormanak
05/27/2022, 1:54 PMEmil Kantis
05/27/2022, 1:55 PMEmil Kantis
05/27/2022, 1:57 PMTomas Kormanak
05/27/2022, 1:58 PMEmil Kantis
05/27/2022, 2:04 PMJson
serializer sadly.. Could've been handy in this case? 🙂
Json {
useSerializerForClass<MyLibClass>(CustomLibSerializer)
}
Perhaps there's some GH issue for itTomas Kormanak
05/27/2022, 2:12 PMEmil Kantis
05/27/2022, 2:12 PMTomas Kormanak
05/27/2022, 2:55 PMephemient
05/28/2022, 2:34 PM@Contextual
and @Polymorphic
serialization because the containing classes' serializers look up the members' serializers via serializersModule
, but that's not true for other members. serializers for generics are passed as constructor parameters and all others are referenced directly, the serial format has no influence over that.