eltonrp / csv-to-json

transform csv files into json

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSV to JSON

Convert csv files to json files

A simulated database was created randomly, with Excel in csv format. Afterwards, the conversion was carried out using the Python and JavaScript languages, separately by directories.
The csv file is located in the root folder, named fakedb.csv, and the files generated by the scripts for each language can be found in the respective folders named fakedb.json.

Used libs

Javascript

  • csv-parser = Lib required to read csv file.
  • fs = module enables interacting with the file system.

Python

  • csv = Lib required to read csv file.
  • json = Lib for exchanging data in json format.

About

transform csv files into json


Languages

Language:Python 61.0%Language:JavaScript 39.0%