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

fix: tojsonl display floats as per the JSON spec #2583

Merged
merged 2 commits into from
Mar 7, 2025

Conversation

jqnatividad
Copy link
Collaborator

@jqnatividad jqnatividad commented Mar 7, 2025

resolves #2579

However, instead of throwing an error, just "normalize" the display of the float by round-tripping the value thru serde_json.

@jqnatividad jqnatividad merged commit 7263b03 into master Mar 7, 2025
12 of 17 checks passed
@jqnatividad jqnatividad deleted the 2579-tojsonl-number-format branch March 7, 2025 12:52
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

Successfully merging this pull request may close these issues.

BUG: qsv can output floating point numbers with leading zeros omitted in nd-JSON
1 participant