Versioned config files for Go: comment-preserving JSON (JWCC), migrations, env/flag overlays, safe rewrites, hot reload and a formatter
-
Updated
Nov 7, 2026 - Go
Versioned config files for Go: comment-preserving JSON (JWCC), migrations, env/flag overlays, safe rewrites, hot reload and a formatter
JSONC parsing with byte ranges, error recovery, and formatting-preserving edits
Comment- and byte-preserving parsers and editors for .env (dotenv) and JSONC/JSON config files in Go. Parse, read, change one value and save: every comment, blank line, key order and quote you did not touch is written back exactly. Stdlib only, fuzz-tested, with ${VAR} expansion, secret plugins (gopass, Vault, AWS) and a CLI.
To associate your repository with the json-with-comments topic, visit your repo's landing page and select "manage topics."