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

Scientific notation in arrays #293

Open
hampa opened this issue Feb 1, 2023 · 1 comment
Open

Scientific notation in arrays #293

hampa opened this issue Feb 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hampa
Copy link

hampa commented Feb 1, 2023

It would be nice if dasel didn't convert numbers to scientific notation, it makes it very hard to parse.

echo '{ "point": [ 357809, 6394093 ] }' | dasel -r json -w csv
point
[357809 6.394093e+06]

I would expect it to produce the same output as input.

@hampa hampa added the bug Something isn't working label Feb 1, 2023
@TomWright
Copy link
Owner

I believe I've fixed this issue here: 7e2937e

It's not yet merged as it's part of a bigger encoding/decoding change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants