| .devenv | ||
| app | ||
| src | ||
| test | ||
| .devenv.flake.nix | ||
| .gitignore | ||
| devenv.lock | ||
| devenv.nix | ||
| devenv.yaml | ||
| lcjf.cabal | ||
| LICENSE | ||
| README.md | ||
lcjf
"Leading-Comma JSON Formatter"
Why
Leading commas are the superior way to format JSON, dictionaries, records, etc. You either know it or are in denial of it.
This simple little program lets you input JSON via stdin or a pipe, then it spits out properly-formatted JSON with leading commas. The right way.
Installing
Until I push this to Hackage and actually set up pre-built binaries, best way to install and use this is to clone it and cabal install it. Make sure ~/.local/bin is on your path.
Contributing
Honestly, I don't know how that's going to work now with my own Forgejo instance here. I don't even know how creating Issues works on here at the moment. Probably best to just yell at me on social media and I'll do something eventually maybe.
AI Disclaimer
This program was put together with the work of a Claude AI agent. My opinions on AI as a whole are largely negative, and I refrain from using it for matters of creative industries. I normally only use it with software development for research assistance, minimizing its actual writing of code.
This program, however, was almost entirely made with the Claude Code AI agent. To me, this is a silly little project that is unlikely to gain usage, even from myself, and I didn't care about the time to write an program for Aeson parsing followed by pretty printing, with optional JSONC comment support.