macOS
brew install hjsonlocal Homebrew formula metadata
brew
hjson のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install hjsonlocal Homebrew formula metadata
nix profile install nixpkgs#hjsonnixpkgs package indexes · hjson · ソース: raw.githubusercontent.com
scoop install main/hjsonScoop official bucket manifest trees · bucket/hjson.json · ソース: api.github.com
概要
Convert JSON to HJSON and vice versa
履歴
Hjson is a human-editable configuration format and related CLI/library ecosystem that keeps JSON compatibility while relaxing syntax for comments, unquoted keys, optional commas, root-brace omission, and multiline strings.
The Hjson site presents the format as a user interface for JSON rather than a replacement for JSON. The stated goal is to make data easier for humans to read and edit before converting it back to ordinary JSON for machines.
The Hjson Internet-Draft dated May 23, 2016 formalized the format as Human JSON, a configuration file format based on JSON whose design goals were readability, editability, backward compatibility with JSON, and suitability for human-viewed configuration, resource files, and debug data dumps.
The Homebrew package points at hjson-go, the Go implementation. Its README says the Go implementation is based on hjson-js, documents both library and hjson-cli use, and positions the CLI as a converter between JSON and Hjson.
Hjson adoption has been implementation-led rather than standards-body-led. The official developer page lists implementations for JavaScript, C#, C++, Go, Java, Lua, PHP, Python, Rust, Ruby, and other partial ports, plus tools with native support.
The input package facts show the Go CLI packaged by Homebrew, Nix, and Scoop. That is a modest but useful packaging footprint for developers who want a command-line converter without adopting a language-specific library.
The hjson-go CLI reads JSON or Hjson from a file or stdin and emits JSON, formatted JSON, or Hjson. Typical package use is converting existing JSON into a friendlier editable form, validating Hjson, or embedding Hjson parsing into Go programs.
The format is intentionally scoped. The Internet-Draft recommends it for data primarily viewed or edited by humans and advises against protocol use.
Hjson sits in the long-running package-nerd debate over configuration formats: strict JSON is universal but hostile to comments and hand editing; YAML is powerful but complex; Hjson offers a smaller relaxed-JSON compromise.
The Go CLI matters because it turns the format into a portable command-line filter, making Hjson useful in shell scripts, editors, config migrations, and package-manager installs without committing to a JavaScript runtime.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
hjson | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/hjson/hjson-go
インストールメタデータ
| パッケージキー | brew:hjson |
|---|---|
| バージョン | 4.6.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/hjson |
| ホームページ | https://hjson.github.io/ |
| リポジトリ | https://github.com/hjson/hjson-go |
| 上流ドキュメント | https://hjson.github.io/ |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/hjson/hjson-go/archive/refs/tags/v4.6.0.tar.gz |
| ビルド依存関係 | 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 | hjson |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
hjson
nix profile install nixpkgs#hjsonmain/hjson
scoop install main/hjsonソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.