macOS
brew install jsonfmtlocal Homebrew formula metadata
brew
jsonfmt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install jsonfmtlocal Homebrew formula metadata
nix profile install nixpkgs#jsonfmtnixpkgs package indexes · pkgs/by-name/js/jsonfmt/package.nix · ソース: api.github.com
概要
Like gofmt, but for JSON files
履歴
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.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
jsonfmt | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/caarlos0/jsonfmt
インストールメタデータ
| パッケージキー | brew:jsonfmt |
|---|---|
| バージョン | 0.5.2 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/jsonfmt |
| ホームページ | https://github.com/caarlos0/jsonfmt |
| リポジトリ | https://github.com/caarlos0/jsonfmt |
| 上流ドキュメント | https://github.com/caarlos0/jsonfmt#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/caarlos0/jsonfmt/archive/refs/tags/v0.5.2.tar.gz |
| 最終更新 | 2026-07-17T17:20:40+09:00 |
| Pulse | updated |
| ビルド依存関係 | go |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
jsonfmt
nix profile install nixpkgs#jsonfmtソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.