usage: csv2json.py [OPTIONS] COMMAND FILE

This program converts CSV to JSON and vice versa.

known COMMANDS:
    json FILE : Convert FILE to json. If FILE is "-", read from stdin.
    csv  FILE : Convert FILE to CSV. If FILE is "-", read from stdin.

options:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --summary             Print a summary of the function of the program
  -l, --list            When creating JSON, create list of lists instead of
                        list of dicts.
  -N, --no-heading      When reading CSV, do not assume that the file contains
                        a heading in line 1. Column names are generated in a
                        scheme similar to excel 'A'..'Z' 'AA'..'AZ' etc. When
                        writing CSV do not add a heading line.
  -d DELIMITER, --delimiter DELIMITER
                        Specifies the CSV delimiter, default: ','
  -q QUOTECHAR, --quotechar QUOTECHAR
                        Specifies the CSV quote character, default: '"'
  --quotemode QUOTEMODE
                        Specifies the quote mode for csv generation. This is
                        one of 'all' 'minimal' 'nonnumeric'. Default:
                        'minimal'.