-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use UInt in custom serializer #1480
Comments
As a workaround, you can use |
@sandwwraith Using
|
Try to import this function: kotlinx.serialization/core/commonMain/src/kotlinx/serialization/builtins/BuiltinSerializers.kt Line 198 in ac54504
|
Describe the bug
I tried to use
UInt
in a custom serializer. Unfortunately, it throws an exception at runtime.To Reproduce
This produces the following exception at runtime:
The first line in the stacktrace pointing at my code is at the
element<UInt>("bar")
line.Environment
The text was updated successfully, but these errors were encountered: