csvjson man page

usage: csvjson [-h] [-d DELIMITER] [-t] [-q QUOTECHAR] [-u {0,1,2,3}] [-b]
[-p ESCAPECHAR] [-z MAXFIELDSIZE] [-e ENCODING] [-H] [-v] [-l]
[--zero] [-i INDENT] [-k KEY] [--lat LAT] [--lon LON]
[--crs CRS]
[FILE]
Convert a CSV file into JSON (or GeoJSON).
positional arguments:
FILE The CSV file to operate on. If omitted, will accept
input on STDIN.
optional arguments:
-i INDENT, --indent INDENT
Indent the output JSON this many spaces. Disabled by
default.
-k KEY, --key KEY Output JSON as an array of objects keyed by a given
column, KEY, rather than as a list. All values in the
column must be unique. If --lat and --lon are also
specified, this column will be used as GeoJSON Feature
ID.
--lat LAT A column index or name containing a latitude. Output
will be GeoJSON instead of JSON. Only valid if --lon
is also specified.
--lon LON A column index or name containing a longitude. Output
will be GeoJSON instead of JSON. Only valid if --lat
is also specified.
--crs CRS A coordinate reference system string to be included
with GeoJSON output. Only valid if --lat and --lon are
also specified.
--stream Output JSON as a stream of newline-separated objects,
rather than an as an array.