JSON integer mangling

nnposter <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.