Text to JSON Converter (CLI Tool)
Text to JSON Converter (CLI)A minimal CLI tool that converts plain text files into a clean JSON format.Features Removes blank lines and extra whitespace Adds line count metadata Outputs JSON to stdout or file Simple, single-file CLI tool Usagejava -jar text2json.jar input.txt java -jar text2json.jar input.txt output.json java -jar text2json.jar --helpExample Output{ "lineCount": 2, "lines": [ "hello kotlin", "this is test" ] }RequirementsJava 21 or laterNotesThis tool is intentionally minimal and designed for lightweight automation or preprocessing tasks.
Get it → n1p.gumroad.com