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

Csv array is converted to single string instead of array of strings #426

Closed
kkorus opened this issue Jun 7, 2021 · 2 comments
Closed

Csv array is converted to single string instead of array of strings #426

kkorus opened this issue Jun 7, 2021 · 2 comments

Comments

@kkorus
Copy link

kkorus commented Jun 7, 2021

Hi, here is my CSV

"name", "tags"
"test name", "[""tag1"",""tag2""]"

it's being converted to:

{
  "name": "test name",
  "tags": "[\"tag1\",\"tag2\"]",

}

I would expect to get

"tags": ["tag1", "tag2"]
@dogabudak
Copy link
Collaborator

I would consider "["tag1","tag2"]" as the expected behaviour. JSON.parse() should fix your issue.

@kkorus
Copy link
Author

kkorus commented Jun 7, 2021

Ok, I will try to add a custom column parser.

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