Big Chungus
10/15/2020, 2:57 PMGson().fromJson(<str>, <any java class>.class)
Vampire
10/15/2020, 3:00 PMBig Chungus
10/15/2020, 3:00 PMBig Chungus
10/15/2020, 3:01 PMVampire
10/15/2020, 3:01 PMVampire
10/15/2020, 3:01 PMBig Chungus
10/15/2020, 3:01 PMBig Chungus
10/15/2020, 3:02 PMVampire
10/15/2020, 3:02 PMBig Chungus
10/15/2020, 3:03 PMBig Chungus
10/15/2020, 3:03 PMBig Chungus
10/15/2020, 3:03 PMVampire
10/15/2020, 3:04 PMVampire
10/15/2020, 3:04 PMBig Chungus
10/15/2020, 3:04 PMImplicitReflectionSerializer
that enabled kotlinx.serialization as content negotiator module for krot-clientBig Chungus
10/15/2020, 3:05 PMVampire
10/15/2020, 3:06 PMVampire
10/15/2020, 3:08 PM@ImplicitReflectionSerializer
is deprecatedBig Chungus
10/15/2020, 3:08 PMBig Chungus
10/15/2020, 3:09 PMVampire
10/15/2020, 3:09 PMsandwwraith
10/15/2020, 6:51 PMClass<*>
? If so, your api for kotlinx.serialization can have KSerializer<*>
as parameter or KType
to use it in serializer()
function. So the consumer of your library provides you the class and the serializer/type tokensandwwraith
10/15/2020, 6:52 PMBig Chungus
10/15/2020, 7:13 PMBig Chungus
10/16/2020, 1:42 PMsandwwraith
10/16/2020, 2:47 PMserializer()
method in kx.serialization. Or do you mean that this class can be NOT marked as @Serializable
?
If so, we do not have plans to support such classes via reflection. Goal of this project is a code generation via compiler pluginBig Chungus
10/16/2020, 2:53 PMOr do you mean that this class can be NOT marked asÂI meant exactly that. Now since this is missing, I'm forced to have both, kotlinx.serialization and gson for this edge-case only.?@Serializable
efemoney
10/18/2020, 12:58 AMVampire
10/18/2020, 2:16 PMefemoney
10/18/2020, 3:51 PMVampire
10/18/2020, 3:55 PM