mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-11 22:03:09 -06:00
Jsonize now outputs int64 as number up to +/-2^53
git-svn-id: svn://ultimatepp.org/upp/trunk@5728 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dedb07914b
commit
a052a68d95
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ template<> void Jsonize(JsonIO& io, int64& var)
|
|||
if(IsNull(var))
|
||||
io.Set(Null);
|
||||
else
|
||||
if(var >= INT_MIN && var <= INT_MAX)
|
||||
if(var >= I64(-9007199254740992) && var <= I64(9007199254740991))
|
||||
io.Set(var);
|
||||
else
|
||||
io.Set(AsString(var));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue