livingbio/fuzzy-json

Fuzzy-JSON is a compact Python package with no dependencies, designed to address the pesky JSONDecodeError that sometimes occurs when utilizing OpenAI's powerful call function.

45
/ 100
Emerging

This tool helps developers reliably process structured data returned by large language models (LLMs) like OpenAI's function calls. It takes in potentially malformed JSON strings from an LLM and outputs clean, valid JSON that can be easily used in your applications. This is designed for developers building applications that integrate with AI models.

Use this if you are a developer struggling with `JSONDecodeError` when trying to parse the output from OpenAI's function calls or other LLM-generated JSON.

Not ideal if you need strict JSON validation without any attempts at automatic repair, or if your primary issue is with non-LLM generated JSON.

AI application development LLM integration API development data parsing backend engineering
No Package No Dependents
Maintenance 10 / 25
Adoption 8 / 25
Maturity 16 / 25
Community 11 / 25

How are scores calculated?

Stars

43

Forks

5

Language

Python

License

MIT

Last pushed

Mar 12, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/livingbio/fuzzy-json"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.