kotlinx.serialization icon indicating copy to clipboard operation
kotlinx.serialization copied to clipboard

Decoding an unsigned numeric value containing an exponent

Open illarionov opened this issue 8 months ago • 0 comments

#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.

illarionov avatar Apr 04 '25 21:04 illarionov