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

Result contains extra rows with "," in them #2

Open
varigg opened this issue Aug 26, 2021 · 1 comment
Open

Result contains extra rows with "," in them #2

varigg opened this issue Aug 26, 2021 · 1 comment

Comments

@varigg
Copy link

varigg commented Aug 26, 2021

The []string that is generated looks like this:

["column1:value",
 ",",
 "column1:value",
 ",",
 "column1:value"
]
Is that intended?
@popmonkey
Copy link

at first i thought so as well and was working on a patch, but I realized that doing it this way means each non-comma row contains valid JSON and you also have valid JSON if you save the array out to a file.

i think this behaviour could be made less awkward with an option that controls this, but I can see why it was done.

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

No branches or pull requests

2 participants