{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing/3"}],"enrichment":{"capability":"Repairs malformed JSON strings by fixing common syntax errors like unquoted keys, wrong quote types, missing commas, and Python literal values, then optionally extracts JSON objects from surrounding text.","skillfed_tags":["json-repair","llm-output","text-extraction"],"use_cases":["Extract and repair JSON output from large language model completions that contain syntax errors","Parse JSON-like objects embedded in log files or unstructured text with quote and comma issues","Normalize malformed JSON responses from APIs or third-party tools before processing","Find and pretty-print all JSON objects within a larger text document, including nested objects","Convert Python dict-like syntax (with True/False/None) into valid JSON for downstream processing"],"what_it_does":"fix-busted-json is a Python utility that takes JSON strings with common syntax violations and returns valid JSON. It handles unquoted keys, incorrect quote styles (single quotes, backticks, curly quotes), missing commas, trailing commas, Python literals (True/False/None), string concatenation, and various escaping edge cases. The package also provides helper functions to locate and extract JSON objects embedded within plain text\u2014a use case that emerged from processing large language model outputs, which often produce JSON-like structures with syntax errors.\n\nThe package has no runtime dependencies and supports Python 3.6 and later. It is designed as a lightweight, focused tool for a specific problem: when you have text containing JSON that is almost valid but has known categories of errors, fix-busted-json can normalize it into parseable form without requiring manual intervention or complex error handling.","worth_installing":"Yes, if you regularly encounter malformed JSON from LLMs or need to extract JSON from unstructured text. The package is lightweight, dependency-free, and handles a well-defined set of real-world syntax errors. The aging maintenance status is not a blocker for a focused utility with no external dependencies and no known vulnerabilities, but do not expect active development or rapid response to new issues."},"id":"fix-busted-json","links":{"html":"https://skillfed.io/packages/fix-busted-json","md":"https://skillfed.io/packages/fix-busted-json.md","pypi":"https://pypi.org/project/fix-busted-json/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2026-01-18","license_spdx":null,"license_treatment":"permissive","name":"fix-busted-json","python_support":"supports_current","summary":"Fixes broken JSON string objects"},"popularity":{"monthly_downloads":100668,"position":12976,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.19"}
