Re: <closed-polymorphic type serialisation>, are we able to change the key `type` field to something...
x
Re: closed-polymorphic type serialisation, are we able to change the key
type
field to something else? to achieve something like
Copy code
{
  "typeKey": "owned",
  "status": "open",
  "name": "kotlinx.coroutines",
  "owner": "kotlin"
}
1
z
In your Json configuration you can do this, so:
Copy code
Json {
    classDiscriminator = "typeKey"
}
x
you cant set it up for each type, can you?
e