Skip to content

parse_json fails to parse numbers with scientific notation using uppercase exponent #1038

@BrynCooke

Description

@BrynCooke

According to https://www.json.org/json-en.html exponent can be either upper or lower case

exponent
""
'E' sign digits
'e' sign digits

Currently Rhai parse_json buitin only handes lowercase and will fail to parse numbers with uppercase 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