macOS
brew install yajllocal Homebrew formula metadata
sudo port install yajlMacPorts ports tree · devel/yajl/Portfile · source: api.github.com
brew
Yet Another JSON Library. Version 2.1.0 via Homebrew; verified 2026-07-05.
install
brew install yajllocal Homebrew formula metadata
sudo port install yajlMacPorts ports tree · devel/yajl/Portfile · source: api.github.com
sudo apk add yajlAlpine Linux edge package indexes · yajl · source: dl-cdn.alpinelinux.org
sudo apt install libyajl-devDebian stable package indexes · libyajl-dev · source: deb.debian.org
sudo dnf install yajlFedora Rawhide package metadata · yajl · source: dl.fedoraproject.org
nix profile install nixpkgs#yajlnixpkgs package indexes · pkgs/by-name/ya/yajl/package.nix · source: api.github.com
sudo pacman -S yajlArch Linux sync databases · yajl · source: geo.mirror.pkgbuild.com
sudo zypper install yajlopenSUSE Tumbleweed package metadata · yajl · source: download.opensuse.org
overview
Yet Another JSON Library
history
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.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
json_reformat | cli | global executable | |
json_verify | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:yajl |
|---|---|
| Version | 2.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/yajl |
| Homepage | https://lloyd.github.io/yajl/ |
| Repository | https://github.com/lloyd/yajl |
| Upstream docs | https://github.com/lloyd/yajl#readme |
| License | ISC |
| Source archive | https://github.com/lloyd/yajl/archive/refs/tags/2.1.0.tar.gz |
| Last updated | 2026-07-05T05:49:06Z |
| Pulse | updated |
| Build dependencies | cmake |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | yajl |
| Version Scheme | 0 |
| Revision | 1 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libyajl-dev 2.1.0-5+b2
Yet Another JSON Library - development files
sudo apt install libyajl-devlibyajl-doc 2.1.0-5
Yet Another JSON Library - library documentation
sudo apt install libyajl-doclibyajl2 2.1.0-5+b2
Yet Another JSON Library
sudo apt install libyajl2yajl-tools 2.1.0-5+b2
Yet Another JSON Library - tools
sudo apt install yajl-toolsyajl
nix profile install nixpkgs#yajllibyajl-dev 2.1.0-5build1
Yet Another JSON Library - development files
sudo apt install libyajl-devlibyajl-doc 2.1.0-5build1
Yet Another JSON Library - library documentation
sudo apt install libyajl-doclibyajl2 2.1.0-5build1
Yet Another JSON Library
sudo apt install libyajl2yajl-tools 2.1.0-5build1
Yet Another JSON Library - tools
sudo apt install yajl-toolsyajl 2.1.0-r9
Yet Another JSON Library (YAJL)
sudo apk add yajlyajl-dev 2.1.0-r9
Yet Another JSON Library (YAJL) (development files)
sudo apk add yajl-devyajl-static 2.1.0-r9
Yet Another JSON Library (YAJL) (static library)
sudo apk add yajl-staticyajl-tools 2.1.0-r9
JSON tools based on Yajl
sudo apk add yajl-toolsyajl 2.1.0-40.fc45
Yet Another JSON Library (YAJL)
sudo dnf install yajlyajl-devel 2.1.0-40.fc45
Libraries, includes, etc to develop with YAJL
sudo dnf install yajl-develyajl 2.1.0-7
Yet Another JSON Library
sudo pacman -S yajlsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.