Skip to content

Extremely long numbers should be truncated at read time rather than trying to convert very large strings. #1

@FFMG

Description

@FFMG

Very large number that we know cannot be handled, should be truncated as we read the value into string.

for example

{
  "" : 0.123456789123456789123456789
}

should limit 'a' to a=0.1234567891234567891 (or whatever the max len is).

in the case of int,

{
  "a" : 123456789123456789123456789
}

should convert to a=1.2345678912345678912e+27, (or something similar)

We should not read extremely large numbers in memory as it could cause memory issues and/or performance issues.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions