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.
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.