madhead
03/24/2020, 11:59 AMRequest {
id: int | string,
name: string,
// other fields
}
How do I do that with kotlinx.serialization? I only need to serialize my classes to JSON, no deserialization.spand
03/24/2020, 12:59 PMAny
and just store a String or Int in it?madhead
03/24/2020, 1:04 PMmadhead
03/24/2020, 1:04 PMEither
+ custom serializerspand
03/24/2020, 1:12 PMmadhead
03/24/2020, 1:16 PM@user
Edward Taylor
03/26/2020, 3:08 AMmadhead
03/26/2020, 7:50 AM