# miloyip/nativejson-benchmark

C/C++ JSON parser/generator benchmark

Repository: https://github.com/miloyip/nativejson-benchmark
Canonical: https://ross.abutalabs.com/products/nativejson-benchmark
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-10-28T09:32:21+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4401, "days_push": 1405, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2065, forks 269 (observed 2026-08-28T04:06:10.036872+00:00)

## What it is
A benchmark suite evaluating the conformance and performance (speed, memory, code size) of 41 open-source C/C++ JSON parsing and generation libraries. It tests compliance with RFC7159/ECMA-404 standards and measures parse/stringify performance.

## Use cases
- compare performance of C++ JSON libraries
- check JSON parser conformance against RFC7159
- find the fastest JSON parsing library for C++
- benchmark memory usage of JSON parsers
- evaluate JSON roundtrip correctness
- optimize a JSON library using benchmark results

## When to choose
- you need to select a C/C++ JSON library based on measured speed, memory, or standards conformance
- you are developing or optimizing a JSON parser and want objective comparison data

## When to avoid
- you need a JSON library itself rather than a comparison of libraries
- you work in languages other than C/C++
- you need up-to-date results for recently released libraries, as the benchmark was last updated in 2022

## Facets
- artifact type: library
- maturity: maintenance
- function: benchmarking, parser, serialization, json
- domain: developer-tools, performance, parsers, testing
- platform: cpp, c, cross-platform
- tags: json-benchmark, c-plus-plus, conformance-testing, rapidjson

## Member repositories
- miloyip/nativejson-benchmark (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:10.036872+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-30T02:56:55.820776+00:00, confidence not recorded.
  - readme: https://github.com/miloyip/nativejson-benchmark (fetched 2026-08-28T04:06:10.036872+00:00, sha 469293735560)
- Data as of 2026-08-30T08:39:29.467469+00:00.
