Nmap Development mailing list archives
JSON integer mangling
From: nnposter <nnposter () users sourceforge net>
Date: Sun, 26 Mar 2017 15:54:32 -0600
The JSON library is using string.format() with %g to convert numbers. This causes longer integers to be expressed in the scientific (exponent) notation. My suggestion is to switch to tostring() but there might a good reason why it was not used in the library. Details at https://github.com/nmap/nmap/issues/807 Cheers, nnposter _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- JSON integer mangling nnposter (Mar 26)