jsonxx
jsonxx copied to clipboard
jsonxx:Number floating point number or integer?
Right now the jsonxx::Number encompass both the floating point and integer values. This causes problems when I want to put that number as string. Specifically, I would want to avoid the trailing zeros.
I'm open on doing a pull request, but this seems like a API decision that has been made a while ago. Any reason for that?
Sorry for responding after 7 years! This is due to JSON itself only has a number type to include both integers and floating point numbers.