json_repair and json-repair
These are competitors offering similar JSON repair functionality for LLM outputs, with A being the dominant choice due to its Python implementation, broader adoption, and significantly larger user base, while B provides an alternative specifically for Java environments.
About json_repair
mangiucugna/json_repair
A python module to repair invalid JSON from LLMs
This tool helps developers clean up messy JSON data, especially when it comes from large language models (LLMs) that might make formatting mistakes. You feed it a JSON string that's not quite right, and it gives you back a perfectly valid, standard JSON string or object. It's for software engineers who integrate LLMs or other external services and need reliable data parsing.
About json-repair
HAibiiin/json-repair
Repair JSON! A Java library for fixing JSON anomalies generated by LLMs.
This is a Java library designed to automatically correct malformed JSON text, especially when it's generated by large language models (LLMs). You input a JSON string that might be missing quotes, brackets, or commas, and it outputs a properly formatted JSON string. This tool is for Java developers building applications that process LLM outputs.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work