# douglascrockford/JSON-js

JSON in JavaScript

Repository: https://github.com/douglascrockford/JSON-js
Canonical: https://ross.abutalabs.com/products/json-js
Homepage: http://www.JSON.org/
Language: JavaScript
License Family: other
Last push: 2023-05-10T23:28:16+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5767, "days_push": 1211, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8718, forks 4477 (observed 2026-08-28T04:10:24.411268+00:00)

## What it is
Douglas Crockford's original JSON library for JavaScript, providing JSON.stringify and JSON.parse via 2.js for environments lacking a built-in JSON object, plus cycle.js for encoding cyclical structures. It is now largely historical since JSON is built into modern JavaScript engines.

## Use cases
- parse JSON strings in old browsers like IE8
- serialize JavaScript objects to JSON
- encode cyclical object structures in JSON
- recover decycled JSON back into object graphs
- polyfill the JSON global object

## When to choose
- you must support legacy browsers without native JSON support
- you need to serialize objects containing circular references or DAGs

## When to avoid
- targeting only modern browsers or Node.js, which have built-in JSON
- you need high-performance or streaming JSON parsing
- you need a maintained library with a license file

## Facets
- artifact type: library
- maturity: maintenance
- function: serialization, parser
- domain: developer-tools, web-development, apis
- platform: browser
- tags: legacy-browsers, crockford, cyclical-references, nodejs

## Member repositories
- douglascrockford/JSON-js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:24.411268+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-29T17:25:20.720584+00:00, confidence not recorded.
  - readme: https://github.com/douglascrockford/JSON-js (fetched 2026-08-28T04:10:24.411268+00:00, sha 42aafa11b2a8)
  - homepage: http://www.JSON.org/ (fetched 2026-08-29T08:25:58.451100+00:00, sha 9003a04a28ed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
