macOS
brew install jsonfmtlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für jsonfmt in AI-Agent-Workflows.
Installation
brew install jsonfmtlocal Homebrew formula metadata
nix profile install nixpkgs#jsonfmtnixpkgs package indexes · pkgs/by-name/js/jsonfmt/package.nix · Quelle: api.github.com
Überblick
Like gofmt, but for JSON files
Verlauf
jsonfmt is a Go command-line formatter for JSON files, explicitly modeled as `gofmt` for JSON.
Carlos Becker introduced jsonfmt in a November 12, 2018 blog post after needing consistent JSON formatting for a Chef-heavy project. The post describes rejecting heavier or awkward alternatives, then arriving at Go's standard `json.Indent` as the simple implementation core.
The GitHub repository was created in November 2018 and packages the formatter as a small static CLI with release artifacts for several installation paths.
Adoption is practical and small-scale: Homebrew, Docker, apt/yum repository instructions, deb/rpm packages, and manual binaries are documented by the project. The intended users are teams that want JSON formatting in CI or pre-commit workflows without pulling in a larger JavaScript formatter stack.
The README documents `jsonfmt` for checking and `jsonfmt -w` for rewriting files. Becker's blog describes using `jsonfmt -w` locally and plain `jsonfmt` in CI so formatting drift fails the build.
jsonfmt is notable as a minimal native alternative to general-purpose formatters. Its charm is that it mostly packages a standard-library behavior into a predictable CLI, which is exactly the sort of small tool package managers are good at preserving.
Sicherheitslage
narrow executable package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
jsonfmt | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/caarlos0/jsonfmt
Installationsmetadaten
| Paketschlüssel | brew:jsonfmt |
|---|---|
| Version | 0.5.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/jsonfmt |
| Homepage | https://github.com/caarlos0/jsonfmt |
| Repository | https://github.com/caarlos0/jsonfmt |
| Upstream-Dokumentation | https://github.com/caarlos0/jsonfmt#readme |
| Lizenz | MIT |
| Quellarchiv | https://github.com/caarlos0/jsonfmt/archive/refs/tags/v0.5.2.tar.gz |
| Zuletzt aktualisiert | 2026-07-17T17:20:40+09:00 |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | jsonfmt |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
jsonfmt
nix profile install nixpkgs#jsonfmtQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.