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
- Host: GitHub
- URL: https://github.com/computationalcore/text2json
- Owner: computationalcore
- License: mit
- Created: 2017-08-16T05:23:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T05:34:53.000Z (over 8 years ago)
- Last Synced: 2025-02-25T05:28:08.562Z (about 1 year ago)
- Language: Go
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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