← Back to discover
httpcdpagent-tools
JSON Repair
Repair malformed JSON text into valid parsed JSON: markdown code fences, single quotes, smart quotes, unquoted keys, trailing commas, comments, Python literals (True/None), raw newlines in strings, and truncated output (auto-closes strings, arrays and objects). Returns the parsed value plus a log of every repair applied. Built for LLM output that almost parses. POST a JSON body like: {"text":"```json\n{name: 'Ada', age: 36, tags: ['x',], active: True"}
Resource URL
https://keyronne.com/api/json-repair
Payment options
exactBase (8453)
$0.001 USDC
Max amount
- Pay to
- 0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4
- Timeout
- 60s
Tags
jsonrepairllm-outputsparsingmalformedhealth:ok
For agents
Prompt snippet for AI agents
Find and pay for this x402 resource: URL: https://keyronne.com/api/json-repair Type: http Sources: cdp, agent-tools