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.5.1 Cross-platform make

GitHub Packages downloads:

Last 30 days179,176
Downloads14,041,916
Analytics install events (30 days)5,114
Downloads / install events (30 days)35.0×

Source: GitHub Packages, fetched 2026-11-22T01:01:03Z. Analytics dates: 2026-10-23 to 2026-11-22. 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
Installs5,11411,933110,455
Installs (--HEAD)002
Installs on Request2064222,010
Installs on Request (--HEAD)001
Build Errors1