{"uid":"cap_nplHLO1kvZwsYatGvKzSp","slug":"halowerk-json-repair-331e9d29","name":"Halowerk JSON Repair","description":"Repariert die typischen Fehler aus Sprachmodell-Ausgaben und Fremdsystemen: Markdown-Zaun, haengende Kommas, einfache Anfuehrungszeichen, unquotierte Schluessel, Kommentare, typografische Anfuehrungszeichen, unsichtbare Zeichen, fehlende Klammern, NaN und Infinity. Liefert das geparste Objekt und ein Protokoll jeder einzelnen Reparatur.","url":"https://tools.halowerk.com/v1/json/repair?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Der fehlerhafte JSON-Text"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fAjIjuduRUlybVakC7TA3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fixes common malformed JSON from LLM outputs and external systems, returning the parsed object and a detailed repair log","exampleAgentPrompt":"This JSON came back from the AI pipeline and it's broken — can you repair it? It has trailing commas, single quotes around strings, and a NaN value somewhere. Here it is: {name: 'Alice', score: NaN, tags: ['a', 'b',]}","exampleUseCases":[{"title":"Fix LLM-generated JSON before ingestion","prompt":"The language model returned this JSON but it has hanging commas and unquoted keys — can you repair it so I can parse it properly? Here's the raw output: {name: 'Bob', items: [1, 2, 3,], active: true}"},{"title":"Sanitize third-party API response","prompt":"I'm getting JSON from a legacy system that uses single quotes, has JavaScript-style comments, and sometimes includes Infinity — can you clean it all up and tell me what was fixed? Here's the payload: {'count': Infinity, /* total */ 'items': ['x', 'y']}"},{"title":"Recover broken JSON before database write","prompt":"Before I store this record, I need you to repair the JSON — it's got typographic curly quotes and a missing closing bracket. Please give me the fixed object and the full repair log so I can audit what changed: \"{\\\"user\\\": \\u201cCarla\\u201d, \\\"active\\\": true\""}],"resultDescription":"Returns the successfully parsed JSON object along with a structured repair log listing each individual fix applied (e.g. 'removed trailing comma at position 42', 'replaced single quotes with double quotes'), enabling full auditability of what was changed.","failureModes":["JSON is too severely malformed to recover — returns error with description","Input is not JSON-like at all (e.g. plain text or binary) — returns parse failure","Nested or recursive structures beyond processing depth — may return partial result","Network timeout on large payloads"],"whenToPreferThis":"Choose this endpoint when you need to reliably parse JSON that originated from LLM outputs or legacy systems and may contain any of the well-known LLM JSON failure modes: markdown fences, trailing commas, single quotes, unquoted keys, JS comments, typographic quotes, invisible characters, missing brackets, NaN, or Infinity. Prefer it over a plain JSON parser when you need an audit trail of exactly what was repaired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:42:28.035Z","isFirstParty":false,"canonicalSlug":"halowerk-json-repair-331e9d29"}