Skip to content
Fourohtwo

JSON repair for LLM output (fences, quotes, commas, truncation)

shop.lordevo.com/api/quick/json-repair

JSON repair for LLM output (fences, quotes, commas, truncation): Turns malformed or LLM-style JSON into valid JSON: removes code fences and leading text, fixes trailing commas, single or smart quotes, unquoted keys, comments, Python constants and truncated endings, and lists the problem types...

BaseAnswering
GEThttps://shop.lordevo.com/api/quick/json-repair

Uptime66.7% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://shop.lordevo.com/api/quick/json-repair?json=%60%60%60json%0A%7Bname%3A+%27Ada%27%2C+%22tags%22%3A+%5B%22x%22%2C%5D%2C+");
console.log(await res.json());

Example input

{
  "json": "```json\n{name: 'Ada', \"tags\": [\"x\",], "
}