{"slug":"grokzilla-shop-api-skills-json-repair-ac7c00","title":"Repair malformed or truncated JSON from LLMs, JS or Python","host":"grokzilla.shop","method":"POST","resource":"https://grokzilla.shop/api/skills/json-repair","category":"code","description":"Repair malformed or truncated JSON from LLMs, JS or Python: strips ```json fences and comments, fixes trailing commas, single quotes, unquoted keys, True/False/None, missing commas and unclosed strings/brackets. Returns the parsed JSON, a compact repaired JSON string and the list of fixes. Determini","price_listed":0.0041,"price_asked":0.0041,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":583,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"text":"{name: 'Ada', tags: ['math', 'code',], active: True, // note\n}"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"text":{"maxLength":400000,"minLength":1,"type":"string"}},"required":["text"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"changed":{"type":"boolean"},"fixes":{"items":{"type":"string"},"type":"array"},"json":{"properties":{"active":{"type":"boolean"},"name":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"}},"type":"object"},"ok":{"type":"boolean"},"repaired":{"type":"string"},"skill":{"type":"string"}},"required":["ok","skill"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0041,"price_match":true,"latency_ms":583,"error":null}],"description_full":"Repair malformed or truncated JSON from LLMs, JS or Python: strips ```json fences and comments, fixes trailing commas, single quotes, unquoted keys, True/False/None, missing commas and unclosed strings/brackets. Returns the parsed JSON, a compact repaired JSON string and the list of fixes. Deterministic, no network.","last_updated":"2026-10-17T23:12:26.014Z","schemes":["exact"]}