Robert Jaros
04/22/2025, 4:03 PMUnit
was not possible. I've just accepted this rule, because it was not a big problem for me. Years passed and I've made changes here and there, replacing old, manual deserialization code with features from the kotlinx.serialization lib. But I've never ever tried returning Unit
... until today 😉 And it works!