You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have the necessity of build a custom KSerializer, when I try to use your builders I cannot specify the serial name, like the sample below:
Expected behavior
Or I can pass in the serial name in mapSerialDescriptor and similars, or I can override the serial name with SerialDescriptor
I didn't update yet to 1.8.0 because I am using Ktor 3.0.3 and Ktor uses Kotlinx serialization 1.7.3 and when I tried to update it throws an exception.
Environment
Kotlin version: 2.1.0
Library version: 1.7.3
Kotlin platforms: JVM
Gradle version: 8.11.1
Other relevant context JVM 21
The text was updated successfully, but these errors were encountered:
@rcaceiro Creating custom list/map serializers does not work well. The reason is that some formats on decoding actually have to go in to the serializer type to access the "append"/update functionality. Obviously this special casing is not supported for custom serializers.
Describe the bug
I have the necessity of build a custom KSerializer, when I try to use your builders I cannot specify the serial name, like the sample below:
When I try the snippet below the serial name is ignored also:
Expected behavior
Or I can pass in the serial name in mapSerialDescriptor and similars, or I can override the serial name with SerialDescriptor
I didn't update yet to 1.8.0 because I am using Ktor 3.0.3 and Ktor uses Kotlinx serialization 1.7.3 and when I tried to update it throws an exception.
Environment
The text was updated successfully, but these errors were encountered: