JSON Repair
POST keyronne.com/api/json-repair
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
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: keyronne.com/api/json-repair
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4
Payment methods: — · Last validation: —
{
"input": {
"body": {
"text": "```json\n{name: 'Ada', age: 36, tags: ['x',], active: True"
},
"type": "http",
"method": "POST",
"bodyType": "json"
},
"output": {
"type": "json",
"example": {
"value": {
"age": 36,
"name": "Ada",
"tags": [
"x"
],
"active": true
},
"repairs": [
"removed markdown code fence",
"quoted unquoted object key",
"converted single-quoted string to double quotes",
"removed trailing comma",
"normalized True to true",
"closed unbalanced object (input looks truncated)"
]
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
"amount": "1000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 60
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0xB86F95EF5FA904318Ea9Df3b59AdCe099b478fC4",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "1000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.