x402
JSON Repair (x402)
Repair broken JSON: trailing commas, single quotes, unquoted keys, truncated, comments, mixed with markdown. Returns valid JSON.
get/x402/v2/json-repair
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/json-repair
- Auth: none required
Query parameters
jsonstring required
Broken JSON string to repair
Response
Success
Example response
{
"json": "{\n \"name\": \"Alice\",\n \"age\": 30\n}",
"valid": true,
"parsed": {
"age": 30,
"name": "Alice"
},
"fixes_applied": [
"Added missing closing brackets/braces"
]
}Changes
No recorded changes to this operation across all 1 revision of this API.