Closed rChaoz closed 1 month ago
Before we could do this:
encoding { exampleEncoder { type, example -> Json.encodeToString(Json.serializersModule.serializer(type), example) } }
This is no longer possible in v3 and very much needed as the default serializer doesn't correctly serialize sealed classes (it omits the discriminator "type" field, for example).
Before we could do this:
This is no longer possible in v3 and very much needed as the default serializer doesn't correctly serialize sealed classes (it omits the discriminator "type" field, for example).