json-c
brew install json-c
v0.18
MIT
C library for parsing and serializing JSON data with reference-counted object model.
Why you might care
Essential build dependency for C/C++ projects that need standards-compliant JSON support without external runtime dependencies. Lightweight, RFC 8259 conformant, and widely used in systems software, embedded code, and CLI tools. Provides clean C API for constructing, manipulating, and outputting JSON objects.
6.4k
30-day installs · #497
17.1k
90-day · #595
60.3k
365-day · #585
3.3k
★ GitHub stars · updated 26d ago
Build dependencies
GitHub topics
c
hacktoberfest
json
Links
- https://github.com/json-c/json-c/wiki
- GitHub: json-c/json-c
- Brew formula source: Formula/j/json-c.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"jansson",
"cJSON",
"libujson"
],
"build_dependencies": [
"cmake"
],
"categories": [
"library",
"parser"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "JSON parser for C",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:39:05+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "json-c",
"github_default_branch": "master",
"github_last_commit_at": "2026-05-25T19:29:28Z",
"github_readme_excerpt": "\\mainpage\n\njson-c\n========\n\n1. [Overview and Build Status](#overview)\n2. [Getting Help](#gettinghelp)\n3. [Building on Unix](#buildunix)\n * [Prerequisites](#installprereq)\n * [Build commands](#buildcmds)\n4. [CMake options](#CMake)\n5. [Testing](#testing)\n6. [Building with `vcpkg`](#buildvcpkg)\n7. [Building for Android](#android)\n8. [Building for Commodore Amiga or MorphOS](#amiga)\n9. [Linking to libjson-c](#linking)\n10. [Using json-c](#using)\n\n\u003ca name=\"overview\"\u003e\u003c/a\u003e\nJSON-C - A JSON implementation in C\n-----------------------------------\n\nJSON-C implements a reference counting object model that allows you to easily\nconstruct JSON objects in C, output them as JSON formatted strings and parse\nJSON formatted strings back into the C representation of JSON objects.\nIt aims to conform to [RFC 8259](https://www.rfc-editor.org/rfc/rfc8259).\n\nSkip down to [Using json-c](#using)\nor check out the [API docs](https://json-c.github.io/json-c/),\nif you already have json-c installed and ready to use.\n\nHome page for json-c: https://github.com/json-c/json-c/wiki\n\n\u003ca name=\"gettinghelp\"\u003e\u003c/a\u003e\nGetting Help\n------------\n\nIf you have questions about using json-c, please start a thread on\nour forums at: https://groups.google.com/forum/#!forum/json-c\n\nIf you believe you\u0027ve discovered a bug, report it at \n(https://github.com/json-c/json-c/issues). Please be sure to include\nthe version of json-c you\u0027re using, the OS you\u0027re running on, and any\nother relevant details. Fully reproducible test cases and/or patches\nto fix problems are greatly appreciated.\n\nFixes for bugs, or small new features can be directly submitted as a \n[pull request](https://github.com/json-c/json-c/pulls). For major new\nfeatures or large changes of any kind, please first start a discussion\non the [forums](https://groups.google.com/forum/#!forum/json-c).\n\n\n\u003ca name=\"buildunix\"\u003e\u003c/a\u003e\nBuilding on Unix with `git`, `gcc` and `cmake`\n--------------------------------------------------\n\nIf you already have json-c installed, see",
"github_repo": "json-c/json-c",
"github_stars": 3278,
"github_topics": [
"c",
"hacktoberfest",
"json"
],
"homepage": "https://github.com/json-c/json-c/wiki",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 6361,
"installs_365d": 60278,
"installs_90d": 17146,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:45:13+00:00",
"llm_model": "claude-haiku-4-5",
"name": "json-c",
"oldnames": [],
"one_liner": "C library for parsing and serializing JSON data with reference-counted object model.",
"optional_dependencies": [],
"rank_30d": 497,
"rank_365d": 585,
"rank_90d": 595,
"raw_hash": "bde22eff4d6dd8c4",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/j/json-c.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.18",
"versioned_formulae": [],
"why_use_this": "Essential build dependency for C/C++ projects that need standards-compliant JSON support without external runtime dependencies. Lightweight, RFC 8259 conformant, and widely used in systems software, embedded code, and CLI tools. Provides clean C API for constructing, manipulating, and outputting JSON objects."
}