macOS
brew install jsonnetlocal Homebrew formula metadata
sudo port install jsonnetMacPorts ports tree · devel/jsonnet/Portfile · 来源: api.github.com
安装
brew install jsonnetlocal Homebrew formula metadata
sudo port install jsonnetMacPorts ports tree · devel/jsonnet/Portfile · 来源: api.github.com
sudo apk add jsonnetAlpine Linux edge package indexes · jsonnet · 来源: dl-cdn.alpinelinux.org
sudo apt install jsonnetDebian stable package indexes · jsonnet · 来源: deb.debian.org
sudo dnf install jsonnetFedora Rawhide package metadata · jsonnet · 来源: dl.fedoraproject.org
nix profile install nixpkgs#jsonnetnixpkgs package indexes · pkgs/by-name/js/jsonnet/package.nix · 来源: api.github.com
sudo zypper install golang-github-google-jsonnetopenSUSE Tumbleweed package metadata · golang-github-google-jsonnet · 来源: download.opensuse.org
概览
Domain specific configuration language for defining JSON data
历史
Jsonnet is a data templating language for generating JSON, YAML, INI, and similar configuration data. It is one of the better-known examples of a configuration DSL that deliberately extends JSON while adding functions, object-oriented composition, imports, a standard library, formatting, and a formal specification.
The Jsonnet website says the language began in early 2014 as a Google 20 percent project and launched on August 6. The same page explains that its design was influenced by internal Google configuration languages and experience configuring large systems, while also stating that Jsonnet is not an official Google product.
The public google/jsonnet repository's first commit was made on 2014-08-06. A Google Open Source Blog post on 2015-04-20 described Jsonnet as a simple but rich configuration language that had been quietly released a few months earlier and emphasized that valid JSON is also valid Jsonnet.
The original implementation lives in the google/jsonnet repository. The README points users to the Jsonnet website for documentation and names go-jsonnet, the Go implementation, as a faster option for some use cases.
Jsonnet's adoption grew around infrastructure and configuration workflows where plain JSON was too repetitive but teams still wanted deterministic data generation. The official site describes use by many companies and projects, and the GitHub README documents packaging through Homebrew, MSYS2, PyPI bindings, and vcpkg.
Users run `jsonnet` on a file or expression to emit JSON, use `jsonnetfmt` to reformat source, and use manifests to generate non-JSON output. The language is side-effect free and designed for modular configuration data rather than general application programming.
Jsonnet matters to package nerds because it created a recognizable ecosystem: interpreters, bindings, formatters, package-manager formulas, and Jsonnet-specific dependency tools such as jsonnet-bundler. It is also a useful reference point in debates about JSON-compatible configuration languages versus general-purpose code generation.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jsonnet | cli | 全局可执行文件 | |
jsonnetfmt | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/google/jsonnet
安装元数据
| 软件包键 | brew:jsonnet |
|---|---|
| 版本 | 0.22.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/jsonnet |
| 主页 | https://jsonnet.org/ |
| 仓库 | https://github.com/google/jsonnet |
| 上游文档 | https://jsonnet.org/learning |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/google/jsonnet/archive/refs/tags/v0.22.0.tar.gz |
| 最后更新 | 2026-07-24T15:58:49+02:00 |
| Pulse | updated |
| 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 | jsonnet |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jsonnet 0.20.0+ds-3.1
data templating language
https://github.com/google/jsonnet
sudo apt install jsonnetlibjsonnet-dev 0.20.0+ds-3.1
data templating language (devel)
https://github.com/google/jsonnet
sudo apt install libjsonnet-devlibjsonnet0 0.20.0+ds-3.1
data templating language (lib)
https://github.com/google/jsonnet
sudo apt install libjsonnet0python3-jsonnet 0.20.0+ds-3.1
data templating language (Python)
https://github.com/google/jsonnet
sudo apt install python3-jsonnetjsonnet
nix profile install nixpkgs#jsonnetjsonnet 0.20.0+ds-1build2
data templating language
https://github.com/google/jsonnet
sudo apt install jsonnetlibjsonnet-dev 0.20.0+ds-1build2
data templating language (devel)
https://github.com/google/jsonnet
sudo apt install libjsonnet-devlibjsonnet0 0.20.0+ds-1build2
data templating language (lib)
https://github.com/google/jsonnet
sudo apt install libjsonnet0python3-jsonnet 0.20.0+ds-1build2
data templating language (Python)
https://github.com/google/jsonnet
sudo apt install python3-jsonnetjsonnet 0.21.0-r0
The data templating language
sudo apk add jsonnetjsonnet-dev 0.21.0-r0
The data templating language (development files)
sudo apk add jsonnet-devjsonnet-libs 0.21.0-r0
The data templating language (libraries)
sudo apk add jsonnet-libsjsonnet 0.22.0-13.fc45
A data templating language based on JSON
https://github.com/google/jsonnet
sudo dnf install jsonnetjsonnet-devel 0.22.0-13.fc45
Development Headers for jsonnet
https://github.com/google/jsonnet
sudo dnf install jsonnet-develjsonnet-doc 0.22.0-13.fc45
Documentation for jsonnet
https://github.com/google/jsonnet
sudo dnf install jsonnet-docjsonnet-libs 0.22.0-13.fc45
Shared Libraries for jsonnet
https://github.com/google/jsonnet
sudo dnf install jsonnet-libs来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.