csv2json-cli

command module
v0.0.0-...-dda2df6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 9 Imported by: 0

README

csv2json-cli

This is a CLI tool made in GO to convert a csv file to json

Build the tool

Run the command :

go build csv2json.go

Convert a file

Run the following command :

.\csvjson <csvFile>

Flags
  1. pretty : To get indented and formatted JSON output. Default - false
  2. separator: Mention whether the separator is a comma or a semicolon. Default - comma

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL