Skip to content

simple command line to convert CSV to JSON

Notifications You must be signed in to change notification settings

bonobo78/csv2json

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

CSV, Ascii table, XLSX to JSON converter written in perl.

Features

  • Autodetect of CSV, Ascii table, XLSX formats
  • Join data from other file (joining is done by matching values in first columns of each file)
  • Auto group data
    • Creates table that uses unique values from second column as column names of result table
    • Usefull if you need to convert data from mysql "group by" query into plain table
  • Can specify separator for CSV
  • Write joined data to original file and format

TODO

  • Fix BOM while reading file
  • More input formats: JSON, XML
  • More output formats: MySQL, XML
  • Fix various problems when data includes separators in "table" format
  • More user friendly error/warning reporting

About

simple command line to convert CSV to JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 100.0%