In polymorphic deserialization, when the target subclass is using JsonTransformingSerializer, the deserialization will fail. It seems that it forgets it is deserializing an polymorphic object. kotlinx ...