cjson

Install command:
brew install cjson

Ultralightweight JSON parser in ANSI C

https://github.com/DaveGamble/cJSON

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/cjson.json

Formula code: cjson.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
macOS on
Intel
sonoma ✅
ventura ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.7.19

Depends on when building from source:

cmake 4.4.5 Cross-platform make

GitHub Packages downloads:

Last 30 days149,151
Downloads13,903,005
Analytics install events (30 days)4,314
Downloads / install events (30 days)34.6×

Source: GitHub Packages, fetched 2026-11-02T00:43:49Z. Analytics dates: 2026-10-03 to 2026-11-02. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs4,31411,320128,647
Installs (--HEAD)003
Installs on Request1323372,070
Installs on Request (--HEAD)002
Build Errors1