rocketraman
01/06/2022, 7:47 PM_type
instead of type
as the discriminator. Doing @SerialName("_type") val type: String
doesn't seem to work. A JSON content-based polymorphic deserialization seems like overkill for this. Is there some annotations that will work short of that?Alex Vanyo
01/06/2022, 8:43 PMrocketraman
01/06/2022, 8:47 PMrocketraman
01/06/2022, 9:36 PM