Closed rkbansal closed 6 years ago
Actually i am getting CSV (here Tab-separated) data from client through HTTP on server side, now i want to convert that data to json. How can i?
try like this
const csvjson = require('csvjson'); let options = { delimiter : '\t' }; let json = csvjson.toObject(csv, options);
Actually i am getting CSV (here Tab-separated) data from client through HTTP on server side, now i want to convert that data to json. How can i?