3 ms·
If JSON is transported through any intermediate processor, you have to assume they're translating them to floats and back again. If you treat them as arbitrary
by ben509 6y ago
If JSON is transported through any intermediate processor, you have to assume they're translating them to floats and back again. If you treat them as arbitrary decimals, you have to expect that data is being silently corrupted.
And this includes intermediate processors that are invoked manually, so if someone uses a command like jq to simply test something, numbers are being truncated and they're baffled as to why they're getting different results.