← Back to directory

Repair malformed JSON (trailing commas, single quotes, unquoted keys, code fence...

https://x402.fenixfoundry.com/repair-json

Overview

Repair malformed JSON (trailing commas, single quotes, unquoted keys, code fences, truncated output) and optionally validate the result against a supplied JSON Schema. Returns the parsed value, the canonical text, a change log and validation errors.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider agent-reader
Source bazaar
Indexed 2026-07-31 14:11:47

Health

Status healthy
Latency (p50) 653ms
Uptime (30d) 98.5%
Reliability Score 89.2/100
Last Checked 2026-10-31 07:08:28
Last Healthy 2026-10-31 07:08:28
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "input": "```json\n{name: \"ada\", tags: [\"math\", \"code\",]}\n```", "schema": { "properties": { "name": { "type": "string" }, "tags": { "type": "array" } }, "required": [ "name" ], "type": "object" } }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "changed": true, "changes": [ "stripped markdown code fence", "repaired JSON syntax" ], "errors": [], "repaired": { "name": "ada", "tags": [ "math", "code" ] }, "repairedText": "{\"name\":\"ada\",\"tags\":[\"math\",\"code\"]}", "valid": true }, "type": "json" }