Skip to content

Large numbers get parsed as smaller numbers #28

@twneale

Description

@twneale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions