Leonid Startsev

Results 509 comments of Leonid Startsev

Yeah, we do not currently have a way to communicate from custom serialzier to the outer serializer things like 'this value should be coerced', neither we can pass serial info...

Can you try with 1.6.20-M1, please? However, > the same error when putting the root interface as sealed class shouldn't happen on the current version. Are you sure about this...

Yeah, this is indeed long-standing problem. I think we can pull `buildSerialDescriptor` out of internal API, since there is a demand for it.

See https://github.com/Kotlin/kotlinx.serialization/issues/959#issuecomment-683881720

Yes, it still requires one, but given that `JsonTransformingSerializer` is much easier to implement, I'm not sure that this feature needs special support

We don't have such feature now neither we're currently planning it

It looks like the error is imprecise. If your `CustomDataSerializer` is a serializer for `List`, it should be applied to the List, not to its generic type arg: `val data:...

Is the issue still actual? Can you attach stacktrace?