Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

123
Views
JavaScript convert csv into array of objects

i get this string from a function that reads my .csv file and now i want to convert it to an js array of objects (without the header)...

can anyone help me?

"Name"  "Address"   "Central"   "Unfiltered"    "Description"   "DatapointType" "Security"
"Placeholder1"  "0/0/-" ""  ""  ""  ""  "Auto"
"Placeholder2"  "0/-/-" ""  ""  ""  ""  "Auto"
"Placeholder3"  "0/0/1" ""  ""  ""  "DPT-1" "Auto"
"Placeholder4"  "0/0/2" ""  ""  ""  "DPT-3" "Auto"

i already tried some solutions from here but i think they all dont work cause my csv isnt seperated by "," or ";" (for example)

my csv is seperated by tabs

thanks for your time :)

6 months ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.