Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, zypper, apt 安装 yajl

查看 yajl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install yajl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install yajl

MacPorts ports tree · devel/yajl/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add yajl

Alpine Linux edge package indexes · yajl · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install yajl

Fedora Rawhide package metadata · yajl · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#yajl

nixpkgs package indexes · pkgs/by-name/ya/yajl/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S yajl

Arch Linux sync databases · yajl · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install yajl

openSUSE Tumbleweed package metadata · yajl · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install libyajl-dev

Debian stable package indexes · libyajl-dev · 来源: deb.debian.org

概览

软件包摘要

Yet Another JSON Library

命令和别名

  • json_reformat
  • json_verify

历史

项目历史与用法

YAJL, Yet Another JSON Library, is a small event-driven JSON parser and generator written in ANSI C. Its historical niche is streaming JSON: parsing incrementally from files, sockets, or filters without forcing callers into one in-memory tree representation.

项目历史

Lloyd Hilaiel's README dates the original motivation to July 2007: existing C JSON parsers did not meet his requirements for portability, robustness, useful contextual errors, incremental stream parsing, simplicity, speed, and small size. That origin explains why YAJL is callback-driven and data-representation independent rather than centered on a single DOM-like tree type.

The public GitHub repository was created in December 2008. YAJL 2 later became the main line, while the repository points legacy users to the 1.x branch. The project site publishes generated Doxygen documentation for both v2.1.0 and the previous stable v1.0.12 line.

采用历史

YAJL spread because C programs and language bindings needed a permissively licensed JSON parser that could handle large inputs, streaming data, and low-memory environments. The project site explicitly lists sample command-line tools, `json_reformat` and `json_verify`, which made the library visible to users who needed JSON validation or pretty-printing without writing C code.

Its package-manager footprint is typical of infrastructure libraries: many users encounter it indirectly through bindings, older applications, or distribution dependencies, while maintainers care about ABI stability, small binaries, and predictable parser behavior.

使用方式

Programmatic users register callbacks for JSON events, feed buffers to the parser, and build whatever in-memory representation their application wants. The generator side emits valid JSON, and the included tools reformat or verify JSON from the shell.

YAJL is especially useful where JSON arrives as a stream or where holding both the textual input and a full parsed tree would waste memory. Its design is less convenient than a high-level JSON object library, but that is the point: it is a parser core and filter substrate.

为什么软件包爱好者会关心

YAJL is package-nerd infrastructure from the early JSON boom: tiny C, callback API, command-line validators, and enough portability to show up across Unix-like distributions. It is a good example of a library whose significance is larger than its own CLI because it sits below many higher-level language bindings and tools.

时间线

  • 2007-07: The README's original note explains the requirements that led Lloyd Hilaiel to create YAJL.
  • 2008-12: The public GitHub repository was created.
  • 2014-03: The 2.1.0 tag was committed, matching the version documented on the project site.
  • YAJL 2 era: The README identifies YAJL 2 as the main line and keeps the 1.x branch for legacy users.

Related projects

  • YAJL belongs with other C JSON libraries such as jansson and json-c, but differs by emphasizing SAX-style incremental parsing. Bindings such as yajl-ruby expose the same parser to higher-level languages.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
json_reformatcli全局可执行文件
json_verifycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.1.0
管理器更新时间2026-07-05
本地数据OK
上游当前
检测到的最新版本2.1.0

https://github.com/lloyd/yajl

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:yajl
版本2.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/yajl
主页https://lloyd.github.io/yajl/
仓库https://github.com/lloyd/yajl
上游文档https://github.com/lloyd/yajl#readme
许可证ISC
源码归档https://github.com/lloyd/yajl/archive/refs/tags/2.1.0.tar.gz
最后更新2026-07-05T05:49:06Z
Pulseupdated
构建依赖cmake
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameyajl
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

libyajl-dev 2.1.0-5+b2

Yet Another JSON Library - development files

https://lloyd.github.io/yajl/

sudo apt install libyajl-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: yajl
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yajl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyajl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libyajl-doc 2.1.0-5

Yet Another JSON Library - library documentation

https://lloyd.github.io/yajl/

sudo apt install libyajl-doc
  • Section: doc
  • Architecture: all
  • Source Package: yajl
  • normalized package name match
  • 匹配方式:Yajl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyajl-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libyajl2 2.1.0-5+b2

Yet Another JSON Library

https://lloyd.github.io/yajl/

sudo apt install libyajl2
  • Section: libs
  • Architecture: amd64
  • Source Package: yajl
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yajl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libyajl2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

yajl-tools 2.1.0-5+b2

Yet Another JSON Library - tools

https://lloyd.github.io/yajl/

sudo apt install yajl-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: yajl
  • 2 依赖
  • normalized package name match
  • 匹配方式:Yajl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: yajl-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

yajl

nix profile install nixpkgs#yajl
  • normalized package name match
  • 匹配方式:Yajl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ya/yajl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libyajl-dev 2.1.0-5build1

Yet Another JSON Library - development files

https://lloyd.github.io/yajl/

sudo apt install libyajl-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: yajl
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yajl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyajl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libyajl-doc 2.1.0-5build1

Yet Another JSON Library - library documentation

https://lloyd.github.io/yajl/

sudo apt install libyajl-doc
  • Section: doc
  • Architecture: all
  • Source Package: yajl
  • normalized package name match
  • 匹配方式:Yajl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyajl-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libyajl2 2.1.0-5build1

Yet Another JSON Library

https://lloyd.github.io/yajl/

sudo apt install libyajl2
  • Section: libs
  • Architecture: amd64
  • Source Package: yajl
  • 1 依赖
  • normalized package name match
  • 匹配方式:Yajl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libyajl2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

yajl-tools 2.1.0-5build1

Yet Another JSON Library - tools

https://lloyd.github.io/yajl/

sudo apt install yajl-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: yajl
  • 2 依赖
  • normalized package name match
  • 匹配方式:Yajl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: yajl-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

yajl 2.1.0-r9

Yet Another JSON Library (YAJL)

https://lloyd.github.io/yajl/

sudo apk add yajl
  • License: MIT
  • Architecture: x86_64
  • Source Package: yajl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yajl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yajl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yajl-dev 2.1.0-r9

Yet Another JSON Library (YAJL) (development files)

https://lloyd.github.io/yajl/

sudo apk add yajl-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: yajl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yajl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yajl-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yajl-static 2.1.0-r9

Yet Another JSON Library (YAJL) (static library)

https://lloyd.github.io/yajl/

sudo apk add yajl-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: yajl
  • normalized package name match
  • 匹配方式:Yajl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yajl-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

yajl-tools 2.1.0-r9

JSON tools based on Yajl

https://lloyd.github.io/yajl/

sudo apk add yajl-tools
  • License: MIT
  • Architecture: x86_64
  • Source Package: yajl
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yajl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: yajl-tools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

yajl 2.1.0-40.fc45

Yet Another JSON Library (YAJL)

http://lloyd.github.com/yajl/

sudo dnf install yajl
  • License: ISC
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yajl
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Yajl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yajl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

yajl-devel 2.1.0-40.fc45

Libraries, includes, etc to develop with YAJL

http://lloyd.github.com/yajl/

sudo dnf install yajl-devel
  • License: ISC
  • Category: Unspecified
  • Architecture: i686
  • Source Package: yajl
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Yajl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: yajl-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

yajl 2.1.0-7

Yet Another JSON Library

https://github.com/lloyd/yajl

sudo pacman -S yajl
  • License: ISC
  • Architecture: x86_64
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Yajl
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: yajl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment