JSON Repair
Pricing
Pay per usage
JSON Repair
Fix broken LLM and hand-written JSON: unquoted keys, single quotes, Python True/None, trailing commas, comments and Markdown fences. Get valid JSON plus a repair log; unfixable input is flagged.
JSON Repair
Pricing
Pay per usage
Fix broken LLM and hand-written JSON: unquoted keys, single quotes, Python True/None, trailing commas, comments and Markdown fences. Get valid JSON plus a repair log; unfixable input is flagged.
You can access the JSON Repair programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
$echo '{< "inputText": "```json\\n{name:'\''Ada'\'',active:True,role:None,tags:['\''math'\'','\''code'\'',], // user profile\\n}\\n```"<}' |<apify call dr.skywalker/json-repair --silent --output-datasetThe Apify CLI is the official tool that allows you to use JSON Repair locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: