Skip to content

Decoding an unsigned numeric value containing an exponent #2971

Open
@illarionov

Description

@illarionov

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions