# json-c/json-c

https://github.com/json-c/json-c is the official code repository for json-c.  See the wiki for release tarballs for download.  API docs at http://json-c.github.io/json-c/

Repository: https://github.com/json-c/json-c
Canonical: https://ross.abutalabs.com/products/json-c
Homepage: https://github.com/json-c/json-c/wiki
Language: C
License: NOASSERTION
License Family: other
Topics: json, c, hacktoberfest
Last push: 2026-08-21T01:27:31+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 58, longevity 100
- inputs: {"age_days": 5751, "days_push": 13, "days_rel": 67, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3287, forks 1112 (observed 2026-08-28T04:07:53.809518+00:00)

## What it is
json-c is a C library implementing a reference-counted object model for constructing, serializing, and parsing JSON, aiming to conform to RFC 8259. It builds with CMake across Unix, Windows, Android, and other platforms.

## Use cases
- parse json in c
- generate json strings from c objects
- embed json support in a c application
- read and write json config files in c
- conformant rfc 8259 json parser for c

## When to choose
- you need JSON parsing or serialization in C or C++
- you want a mature, widely packaged C JSON library
- you need cross-platform builds including Android and embedded targets

## When to avoid
- you are working in a higher-level language with native JSON support
- you need streaming or SAX-style parsing rather than a DOM object model
- you need strict license clarity, as the license is non-standard

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser, json
- domain: developer-tools, parsers, apis
- platform: c, windows, cross-platform, embedded
- tags: json-parsing, reference-counting, rfc-8259, cmake, linux, macos

## Member repositories
- json-c/json-c (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:53.809518+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:22:54.249506+00:00, confidence not recorded.
  - readme: https://github.com/json-c/json-c (fetched 2026-08-28T04:07:53.809518+00:00, sha cd2f6ea97f83)
  - homepage: https://github.com/json-c/json-c/wiki (fetched 2026-08-29T09:35:48.162499+00:00, sha f98b7b45f338)
- Data as of 2026-08-30T08:39:29.467469+00:00.
