json: Change compat mode to directly emit ints <= 32 bits
authorR. Ou <rqou@robertou.com>
Sun, 9 Feb 2020 09:01:18 +0000 (01:01 -0800)
committerR. Ou <rqou@robertou.com>
Sun, 9 Feb 2020 09:01:18 +0000 (01:01 -0800)
commit20ce4118da1a0b14e8307aa0a605101252028757
tree945ef9261ce3e7f206dba535011bc122a180ffd6
parent2e8d6ec0b06b4e51e222c15c8049130bc264ae57
json: Change compat mode to directly emit ints <= 32 bits

This increases compatibility with certain older parsers in some cases
that worked before commit 15fae357 but do not work with the current
compat-int mode
backends/json/json.cc