$npx skillfedfor your agent

fix-busted-json

Fixes broken JSON string objects

With conditionsPyPI Text ProcessingReleased Jan 2026100.7K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fix_busted_json-0.0.19-py3-none-any.whl
v0.0.19 · released 2026-01-18 · Python >=3.6

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later.
  • Low install friction with no runtime dependencies.
  • Maintenance status is aging (208 days since last release), though the package was last released 2026-01-18.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive) allows free use, modification, and distribution with minimal restrictions.

last release 2026-01-18 (208 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 100,668 downloads/mo, #12,976 on PyPI

Verify before relying

pip install fix-busted-json

from fix_busted_json import repair_json

invalid_json = "{ name: 'John' 'age': 30, 'city': 'New' + ' York', }"
fixed_json = repair_json(invalid_json)
print(fixed_json)
  • Whether the repair heuristics handle all edge cases reliably or fail gracefully on deeply nested or unusual malformed JSON
  • Performance characteristics on very large JSON strings or documents with many embedded objects
Same gist for agents: .md · .json

What it is and 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—a use case that emerged from processing large language model outputs, which often produce JSON-like structures with syntax errors.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

fix-busted-json on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance status is aging (208 days since last release), though the package was last released 2026-01-18.

Requires Python 3.6 or later.

License in practice

MIT license (permissive) allows free use, modification, and distribution with minimal restrictions.

Quickstart

pip install fix-busted-json

from fix_busted_json import repair_json

invalid_json = "{ name: 'John' 'age': 30, 'city': 'New' + ' York', }"
fixed_json = repair_json(invalid_json)
print(fixed_json)

Verify before relying

  • Whether the repair heuristics handle all edge cases reliably or fail gracefully on deeply nested or unusual malformed JSON
  • Performance characteristics on very large JSON strings or documents with many embedded objects

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 208 days since the last release
First released
Downloads100,668 / month, #12,976 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: fix_busted_json-0.0.19-py3-none-any.whl

Tags

Capabilities
fix broken jsonrepair invalid jsonjson syntax fixerextract json from textparse malformed jsonjson error correctionllm json output repair
Topics
json-repairllm-outputtext-extraction

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “repair invalid json”

  • fix-busted-jsonRepairs malformed JSON strings by fixing common syntax errors like…
  • json-repairParses and repairs malformed JSON strings from LLMs, APIs, logs, and…
  • bnunicodenormalizerNormalizes Bangla Unicode text by fixing invalid character sequences,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also json-repair · jsonquerylang · json5kit · partialjson · chompjs · smartypants · json5 · jsoncomment · jstyleson · json-with-comments