macOS
brew install hjsonlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für hjson in AI-Agent-Workflows.
Installation
brew install hjsonlocal Homebrew formula metadata
nix profile install nixpkgs#hjsonnixpkgs package indexes · hjson · Quelle: raw.githubusercontent.com
scoop install main/hjsonScoop official bucket manifest trees · bucket/hjson.json · Quelle: api.github.com
Überblick
Convert JSON to HJSON and vice versa
Verlauf
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.
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 |
|---|---|---|---|
hjson | 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/hjson/hjson-go
Installationsmetadaten
| Paketschlüssel | brew:hjson |
|---|---|
| Version | 4.6.0 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/hjson |
| Homepage | https://hjson.github.io/ |
| Repository | https://github.com/hjson/hjson-go |
| Upstream-Dokumentation | https://hjson.github.io/ |
| Lizenz | MIT |
| Quellarchiv | https://github.com/hjson/hjson-go/archive/refs/tags/v4.6.0.tar.gz |
| 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 | 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
hjson
nix profile install nixpkgs#hjsonmain/hjson
scoop install main/hjsonQuellspur
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.