We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
attempting to convert a json using the instructions on the readme, I get error: unknown option-k'`
error: unknown option
This occurs even when using the exact data and command written on the readme, i.e., input.json:
[ {"user": {"name":"jehiah", "password": "root"}, "remote_ip": "127.0.0.1", "dt" : "[20/Aug/2010:01:12:44 -0400]"}, {"user": {"name":"jeroenjanssens", "password": "123"}, "remote_ip": "192.168.0.1", "dt" : "[20/Aug/2010:01:12:44 -0400]"}, {"user": {"name":"unknown", "password": ""}, "remote_ip": "76.216.210.0", "dt" : "[20/Aug/2010:01:12:45 -0400]"} ]
json2csv -k user.name,remote_ip -i input.json -o output.csv
error: unknown option `-k'
The text was updated successfully, but these errors were encountered:
Aaah, I see. The help for the binary that go get produces reveals that what the readme has as -k should actually be -f.
Sorry, something went wrong.
No branches or pull requests
attempting to convert a json using the instructions on the readme, I get
error: unknown option
-k'`This occurs even when using the exact data and command written on the readme, i.e., input.json:
json2csv -k user.name,remote_ip -i input.json -o output.csv
The text was updated successfully, but these errors were encountered: