Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dex4er/cvs2json.pl
Stream and CLI to convert CSV to JSON
https://github.com/dex4er/cvs2json.pl
Last synced: 11 days ago
JSON representation
Stream and CLI to convert CSV to JSON
- Host: GitHub
- URL: https://github.com/dex4er/cvs2json.pl
- Owner: dex4er
- Created: 2016-09-16T17:01:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-20T13:47:41.000Z (over 8 years ago)
- Last Synced: 2024-10-28T09:02:12.337Z (about 2 months ago)
- Language: Perl
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SYNOPSIS
**cvs2json** -h|--help
**csv2json**
\[-s _separator_|--separator=_separator_\]
\[-t|--tsv\]
\[_input-file_
\[_output-file_\]\]# README
**csv2json** converts CSV stream to JSON.
# OPTIONS
- -s _separator_|--separator=_separator_
Specify a field separator. Comma "`,`"" is the default.
- -t|--tsv
Specify TAB as a field separator.
- _input-file_
The input file name. `STDIN` stream is the default.
- _output-file_
The output file name. `STDOUT` stream is the default.
# PREREQUISITES
- [JSON](https://metacpan.org/pod/JSON)
# SCRIPT CATEGORIES
Text\_Processing/Filters
# AUTHORS
Piotr Roszatycki
# LICENSE
Copyright 2016 by Piotr Roszatycki .
Inspired by https://www.npmjs.com/package/csv2json by Julien Fontanet.
All rights reserved. This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License, the
latest version.