Skip to content

ParseJsonRule ParseJsonRuleSet will encounter precision loss when unmarshalling numbers into int64  #451

Open
@neallu304

Description

@neallu304

Describe the bug
ParseJsonRule and ParseJsonRuleSet functions will encounter precision loss when unmarshalling a big number

For example, if the rule contains a number, and that number is 509682941429859799, after calling ParseJsonRule, the number will be converted to 509682941429859800.

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