Json Repair

A Python package to repair broken JSON strings.

Coding & DevelopmentLLM ToolsOpen sourceOpen sourceDemo available
Visit tool

mangiucugna.github.io

About Json Repair

Json Repair is a Python package that fixes malformed JSON strings by adding necessary elements, default values, and removing extra non-JSON characters. It can be used as a drop-in replacement for json.loads() or as a schema-guided repair step.

Description summarised by AI from the sources listed below.

Key features

  • Fixes syntax errors in JSON
  • Fixes missing quotes, commas, brackets, comments, stray prose, and truncated values
  • Auto-completes missing values in JSON fields with reasonable defaults
  • Auto-completes missing JSON values
  • Auto-completes missing values in JSON fields
  • Repairs malformed JSON arrays and objects
  • Accepts all parameters that json.dumps accepts
  • Supports non-Latin characters

Use cases

  • Fixing syntax errors in JSON
  • Repairing malformed JSON arrays and objects
  • Auto-completion for missing JSON values

Pricing

Pricing model: Open source. Detailed plans are not recorded; check the official website for current prices.

Pricing summarised by AI from the sources listed below.