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
Taking:
> cat /tmp/i.csv a,b foo,0x123
I get:
> mlr --icsv --ojson cat /tmp/i.csv [ { "a": "foo", "b": 0x123 } ]
But 0x123 is not a valid JSON value:
0x123
> mlr --icsv --ojson cat /tmp/i.csv | jq jq: parse error: Invalid numeric literal at line 5, column 0
Tested with:
> mlr --version mlr 6.13.0
One probably wants to either export it as base 10 number or as string:
[ { "a": "foo", "b": "0x123" } ]
or:
[ { "a": "foo", "b": 291 } ]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Taking:
I get:
But
0x123
is not a valid JSON value:Tested with:
One probably wants to either export it as base 10 number or as string:
or:
The text was updated successfully, but these errors were encountered: