hyperjumptech/grule-rule-engine

ParseJsonRule ParseJsonRuleSet will encounter precision loss when unmarshalling numbers into int64

neallu304 opened this issue · 0 comments

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.