
CSV to JSON (using html/javascript)
- or -
Post a project like this1428
$10
- Posted:
- Proposals: 14
- Remote
- #3259058
- Awarded
Freelancer/DB Developer/Technical-IT Support/Front end developer/ASP.net/Core Developer
24094394304612274804347795650415915714151567031623705555802719572951230961525334597




Description
Experience Level: Entry
I have a script for browsing for a csv-file, import it into my html-document, and then use javascript to convert it to JSON. Problem is it won't work 100% There are "\ all over the result.
The end result should be an array with objects, like this:
let rawData = [
{
"Time": "2020-04-25 01:08:43.420872",
"Token": 1000,
"Token": 2503,
"Transaction": "Tip",
"User": "momo",
"Note": "wednesday night?"
}
]
My current code is attached as .txt in this job.
The end result should be an array with objects, like this:
let rawData = [
{
"Time": "2020-04-25 01:08:43.420872",
"Token": 1000,
"Token": 2503,
"Transaction": "Tip",
"User": "momo",
"Note": "wednesday night?"
}
]
My current code is attached as .txt in this job.

Fredrik P.
100% (56)Projects Completed
74
Freelancers worked with
51
Projects awarded
31%
Last project
18 Aug 2024
Sweden
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Can you share an example CSV file, please?
981509
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies