Skip to content

json_StringIsLargeNumber returns true when the string is not a valid number #273

Closed
@ibrido90

Description

@ibrido90

The function json_StringIsLargeNumber checks only if the string contains '0', 'E', 'e' or '.' characters to say if it's a number or not.
So the string code like this one 012345678901234567890 is recognized as a valid Json number which in reality is not.

We'd like to submit a pull request that patches this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions