-
Notifications
You must be signed in to change notification settings - Fork 214
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
JSONL output does not properly handle keys with quotes #1424
Labels
Comments
johnkerl
added a commit
that referenced
this issue
Nov 11, 2023
* mlr --l2j, --j2l * make dev for previous commit * fix #1424 * unit-test cases * iterate
@kusalananda thank you for the bug report! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to convert header-less CSV input into a single JSON object by using the 1st field as the key name and the 2nd field as the value for the corresponding field.
Using JSON output, I get the correct output, but in an array:
Switching to JSONL output seems to break the quoting of the key, but handles the value correctly:
I'm using
mlr version 6.9.0 for openbsd/amd64/go1.21.1
.The text was updated successfully, but these errors were encountered: