Sebastian Schuberth
11/13/2025, 11:52 AMdescriptor for a serializer that can deserialize from either a string or object? I was previously using buildSerialDescriptor(serialName, SerialKind.CONTEXTUAL) { ... } but I just learned from its docs that its use is discouraged in favor of buildClassSerialDescriptor, but that doe snot allow me to declare that the deserializer is contextual...ephemient
11/13/2025, 8:31 PMSerialDescriptor(serialName, serialDescriptor<JsonElement>())Sebastian Schuberth
11/13/2025, 8:32 PMJsonElement too generic to be meaningful? I mean, the point of the descriptor is to describe the typed structure.Sebastian Schuberth
11/13/2025, 8:33 PMSebastian Schuberth
11/13/2025, 8:34 PMephemient
11/13/2025, 11:03 PM