Skip to content

Decoding an unsigned numeric value containing an exponent #2971

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

Open
illarionov opened this issue Apr 4, 2025 · 0 comments
Open

Decoding an unsigned numeric value containing an exponent #2971

illarionov opened this issue Apr 4, 2025 · 0 comments
Labels

Comments

@illarionov
Copy link

#2227 added support for decoding numeric values containing an exponent, but it doesn't work for unsigned types:

Json.decodeFromString<Int>("1E2") // 100
Json.decodeFromString<UInt>("1E2") // JsonDecodingException

This is a request to add support for decoding unsigned types from numeric values ​​that contain an exponent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants