Parse lines of a text file separated with line breakers (\n) converting them to array elements of a json file.
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)
This project is licensed under the MIT License - see the LICENSE file for details