/Text2Json

Parse lines of a text file separated with line breakers (\n) converting them to array elements of a json file

Primary LanguageGoMIT LicenseMIT

Text2Json

Parse lines of a text file separated with line breakers (\n) converting them to array elements of a json file.

Getting Started

Install golang compiler for your system https://golang.org/.

To run the program:

$ go build text_to_json.go
$ ./text_to_json --input input.txt --output output.json [--verbose]

--input - Name / Path of the input text file to be converted (Default name is input.txt) --output - Name / Path of the input text file to be converted (Default name is output.json)

License

This project is licensed under the MIT License - see the LICENSE file for details