{"slug":"agents-204-168-199-108-sslip-io-v1-util-json-repair-cf4a45","title":"Turn almost-JSON into valid JSON in one call","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/json-repair","category":"code","description":"Turn almost-JSON into valid JSON in one call. Fixes what LLMs and humans break: markdown ```json fences, leading/trailing chatter, // and /* */ comments, single or smart quotes, unquoted keys and values, trailing or missing commas, Python True/False/None, NaN/undefined, hex and +/.5 numbers, raw new","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checked_on":"2026-12-02","checks_7d":5,"answered_7d":5,"latency_ms_median":964,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"text":"Sure! Here is the data:\n```json\n{name: 'Acme', \"tags\": [\"ai\", \"x402\",], active: True, // verified\n \"score\": .95, \"notes\": \"cut off her"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"text":{"description":"Broken or almost-JSON text (max 1 MB), e.g. raw LLM output","type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":964,"error":null},{"day":"2026-11-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":965,"error":null},{"day":"2026-11-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":959,"error":null},{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":936,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":1028,"error":null}],"description_full":"Turn almost-JSON into valid JSON in one call. Fixes what LLMs and humans break: markdown ```json fences, leading/trailing chatter, // and /* */ comments, single or smart quotes, unquoted keys and values, trailing or missing commas, Python True/False/None, NaN/undefined, hex and +/.5 numbers, raw newlines in strings, and TRUNCATED output (closes open strings, arrays and objects). Returns the parsed data, the compact JSON string and the list of fixes applied. Valid JSON passes","last_updated":"2026-11-26T23:01:53.755Z","schemes":["exact"]}