We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, Is the a way to set column 1 as header. My CSV looks like this and there is not header.
contact.name.text, jim contact.lastname.text, jorden contact.address.state.text, CA contact.city.text, LA
expected json {"contact" : { "name.text": "jim", "lastname.text": "jorden", "address": { "state.text": "CA", "city.text": "LA" } }
{"contact" : { "name.text": "jim", "lastname.text": "jorden", "address": { "state.text": "CA", "city.text": "LA" } }
There is no header and I tried using ({noheader:true}) but the keys were all Field1 and Field2 which are expected.
The text was updated successfully, but these errors were encountered:
By default the 1st row of the csv file is the header https://github.com/Keyang/node-csvtojson#header-row
Do not define noheader because there is a header (1st row).
noheader
Sorry, something went wrong.
@9thstudio if this solves your problem, please close the issue
No branches or pull requests
Hi, Is the a way to set column 1 as header. My CSV looks like this and there is not header.
contact.name.text, jim
contact.lastname.text, jorden
contact.address.state.text, CA
contact.city.text, LA
expected json
{"contact" : { "name.text": "jim", "lastname.text": "jorden", "address": { "state.text": "CA", "city.text": "LA" } }
There is no header and I tried using
({noheader:true})
but the keys were all Field1 and Field2 which are expected.
The text was updated successfully, but these errors were encountered: