Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large numbers get parsed as smaller numbers #28

Open
twneale opened this issue Aug 7, 2015 · 0 comments
Open

Large numbers get parsed as smaller numbers #28

twneale opened this issue Aug 7, 2015 · 0 comments

Comments

@twneale
Copy link

twneale commented Aug 7, 2015

This may be a bug/feature of the json library this tool uses, but my CSV had a large number in one of the columns, and it was evidently parsed as different number (also negative). I'm guessing my number was larger than whatever type json2csv's json parse was expecting:

$ echo '{"x": 110750513297351875876238378613844499030}' |  /opt/gocode/bin/json2csv -k x
-9223372036854775808
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant