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

Patches:

https://github.com/DaveGamble/cJSON/commit/a29814f285cc531c00223743ad3c55cd38c0dc56

Depends on when building from source:

cmake 4.4.5 Cross-platform make

GitHub Packages downloads:

Last 30 days161,894
Downloads13,947,608
Analytics install events (30 days)4,528
Downloads / install events (30 days)35.8×

Source: GitHub Packages, fetched 2026-11-09T00:52:43Z. Analytics dates: 2026-10-10 to 2026-11-09. 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,52811,367122,432
Installs (--HEAD)003
Installs on Request1583612,042
Installs on Request (--HEAD)002
Build Errors1