An open API service indexing awesome lists of open source software.

https://github.com/computationalcore/text2json

Parse lines of a text file separated with line breakers (\n) converting them to array elements of a json file
https://github.com/computationalcore/text2json

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](LICENSE) file for details