{"adoption": {"forks": 214, "observed_at": "2026-08-28T04:09:09.473129+00:00", "stars": 5079}, "canonical_url": "https://ross.abutalabs.com/products/json_repair", "card": {"archived": false, "artifact_type": "library", "description": "Repair malformed JSON from LLMs, APIs, logs, and user input in Python.", "domain": ["large-language-models", "developer-tools", "parsers", "apis"], "enriched": true, "function": ["parser", "serialization", "cli"], "health_score": 100, "homepage": "https://mangiucugna.github.io/json_repair/", "language": "Python", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["mangiucugna/json_repair"], "name": "mangiucugna/json_repair", "platform": ["python", "cli", "cross-platform"], "pushed_at": "2026-08-25T07:38:35+00:00", "repo": "mangiucugna/json_repair", "stars": 5079, "tags": ["-repair", "llm-output", "structured-output", "pydantic", "-schema", "streaming"], "topics": ["json", "llm", "parser", "cli", "json-repair", "json-schema", "llm-output", "malformed-json", "pydantic", "python", "streaming", "structured-output"], "urls": [], "use_cases": ["parse malformed JSON from LLM responses", "fix broken JSON with missing quotes and trailing commas", "repair truncated JSON from logs or APIs", "validate and coerce JSON against a JSON Schema", "drop-in replacement for .loads on unreliable input", "repair JSON in streaming LLM output"], "what_it_is": "A Python library that repairs malformed JSON strings, such as broken output from LLMs, APIs, logs, or user input. It works as a drop-in fallback for .loads(), supports schema-guided repair, streaming, and also provides a CLI and online demo.", "when_to_avoid": ["your JSON is already well-formed and standard .loads suffices", "you need strict validation that rejects rather than repairs invalid input", "you work outside the Python ecosystem"], "when_to_choose": ["you consume JSON from LLMs that often emit invalid syntax", "you need a lightweight Python fallback when .loads fails", "you want schema-guided repair and type coercion", "you need to fix JSON from logs, webhooks, or user input"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/json_repair", "repo": "mangiucugna/json_repair", "role": "main", "score": 91}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:09.473129+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:02:35.764405+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "57c8dd9170ef73c52b6375751ca8a6c9d08a1d6e5139c005c57f3f2290b69e2e", "fetched_at": "2026-08-28T04:09:09.473129+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mangiucugna/json_repair"}, {"content_hash": "39ca3fd40535d71c55c6b5f1f7c7746e1a365c985a9970b5659c71fc57e5bbca", "fetched_at": "2026-08-29T08:57:26.483104+00:00", "kind": "homepage", "missing": false, "url": "https://mangiucugna.github.io/json_repair/"}, {"content_hash": "031c36b00a5ca67a96ecd72a84bae6bf1ef359466ceb8c9bad13317820c617fd", "fetched_at": "2026-08-29T08:57:26.485697+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/json_repair/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 78, "rhythm": 87}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 1092, "days_push": 8, "days_rel": 8, "gap_med": 4.0, "n_releases_24m": 105}, "score": 91, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}