Bernhard
08/22/2024, 9:34 AMturansky
08/22/2024, 9:53 AM@JsPlainObject
?Bernhard
08/22/2024, 9:55 AMBernhard
08/22/2024, 10:49 AMEdoardo Luppi
08/22/2024, 10:49 AMBernhard
08/22/2024, 10:50 AMBernhard
08/22/2024, 10:50 AMBernhard
08/22/2024, 10:51 AMBernhard
08/22/2024, 10:51 AMBernhard
08/22/2024, 10:51 AMEdoardo Luppi
08/22/2024, 10:53 AMwhere matching on a property would cast to the correct interface iircYou mean discriminated unions? If you want the same kind of behavior I guess kotlinx-serialization should allow you to do that, that is, check a property and de-serialize accordingly.
Bernhard
08/22/2024, 10:53 AMBernhard
08/22/2024, 10:53 AMEdoardo Luppi
08/22/2024, 10:54 AM