All Projects → webcarrot → csv2json

webcarrot / csv2json

Licence: other
Writen in C, CSV file to JSON file/string converter with utf8 support.

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to csv2json

cfv
Command-line File Verify
Stars: ✭ 36 (+100%)
Mutual labels:  csv
Jekyll
Call of Duty XAsset exporter that dumps raw assets from a game's memory.
Stars: ✭ 29 (+61.11%)
Mutual labels:  csv
scala-csv-parser
CSV parser library.
Stars: ✭ 24 (+33.33%)
Mutual labels:  csv
exoffice
Library to parse common excel formats (xls, xlsx, csv)
Stars: ✭ 31 (+72.22%)
Mutual labels:  csv
pcap-processor
Read and process pcap files using this nifty tool
Stars: ✭ 36 (+100%)
Mutual labels:  csv
org-clock-csv
Export Emacs org-mode clock entries to CSV format.
Stars: ✭ 80 (+344.44%)
Mutual labels:  csv
x86-csv
A machine-readable representation of the Intel x86 Instruction Set Reference.
Stars: ✭ 20 (+11.11%)
Mutual labels:  csv
shopify-product-csvs-and-images
Shopify product CSVs and images to seed your store with product data.
Stars: ✭ 76 (+322.22%)
Mutual labels:  csv
django-excel-response
Django package to easily render Excel spreadsheets
Stars: ✭ 74 (+311.11%)
Mutual labels:  csv
datatools
A set of tools for working with JSON, CSV and Excel workbooks
Stars: ✭ 68 (+277.78%)
Mutual labels:  csv
simplifai
Free automated deep learning for spreadsheets
Stars: ✭ 17 (-5.56%)
Mutual labels:  csv
datamaker
Data generator command-line tool and library. Create JSON, CSV, XML data from templates.
Stars: ✭ 23 (+27.78%)
Mutual labels:  csv
AlphaVantageAPI
An Opinionated AlphaVantage API Wrapper in Python 3.9. Compatible with Pandas TA (pip install pandas_ta). Get your FREE API Key at https://www.alphavantage.co/support/
Stars: ✭ 77 (+327.78%)
Mutual labels:  csv
magento2-module-catalog-import-command
Ⓜ️2️⃣ A Magento2 console command to import catalog files.
Stars: ✭ 31 (+72.22%)
Mutual labels:  csv
go-csv-tag
Read csv file from go using tags
Stars: ✭ 94 (+422.22%)
Mutual labels:  csv
fb-page-chat-download
Python script to download messages from a Facebook page to a CSV file
Stars: ✭ 51 (+183.33%)
Mutual labels:  csv
elm-csv
Decode CSV in the most boring way possible.
Stars: ✭ 23 (+27.78%)
Mutual labels:  csv
flatpack
CSV/Tab Delimited and Fixed Length Parser and Writer
Stars: ✭ 55 (+205.56%)
Mutual labels:  csv
workbook
simple framework for containing spreadsheet like data
Stars: ✭ 13 (-27.78%)
Mutual labels:  csv
tableschema-go
A Go library for working with Table Schema.
Stars: ✭ 41 (+127.78%)
Mutual labels:  csv

csv2json

Description:

Writen in C, CSV file to JSON file/string converter with utf8 support.

Can generate array of arrays or array of objects.

Simple usage:

csv2json -i input.csv > output.json

with keys:

csv2json -i input.csv -k 999 > output.json

Complex usage:

csv2json -e -i input.csv -o output.json -r $'\n' -c ',' -t '"' -l 9000000 -k 99

or

csv2json --escape --input-file input.csv --output-file output.json --row-sep $'\n' --col-sep ',' --text-sep '"' --cell-length 9000000 --keys 99

Params:

csv2json params:
-i
--input-file   path to input file [required]
-o
--output-file  path to output file [default:NULL] [optional] [if not set write output to stdout]
-r
--row-sep      row separator [default:$'\n']
-c
--col-sep      col separator [default:',']
-t
--text-sep     text separator [default:'"']
-l
--cell-length  how many chars can exist in single cell. DO NOT SET TO SMALL.
               Escaped utf8 consume 4 chars extra and special chars 1 char extra. [default:1000000]
-k
--keys         set maximum keys number and use first row values as keys for values [default:0]
-e
--escape       escape UTF-8 (some 'long' chars are not supported) [flag:default:false]
-h
--help         print help screen
-v
--version      print version screen

TODO:

Add support for utf16/32

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].