← Agent Data Hub · Search endpoints · /llms.txt

AI JSON Syntax Validator, Auto-Repair & Canonical Formatter

Validates raw JSON strings, repairs common LLM output errors (trailing commas, markdown fences), and outputs canonical minified/pretty JSON.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/ai-tool-json-validator-repair?json={"name":"AI Hub","apis":5040,}&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"ai-tool-json-validator-repair"}

Parameters

jsonJSON string to validate or repair

Example response (live, compact)

{
  "apiId": "ai-tool-json-validator-repair",
  "data_freshness": "live",
  "data": {
    "tool": "ai-tool-json-validator-repair",
    "is_valid_after_repair": true,
    "was_repaired": true,
    "canonical_minified": "{\"name\":\"AI Hub\",\"apis\":5040}",
    "keys_count": 2
  },
  "source": "100% Platform-Native Deterministic AI Core Utility (<1ms)",
  "license": "100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)"
}

Source & license

Source100% Platform-Native Deterministic AI Core Utility (<1ms)
License100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)
Source URLhttps://api-hub.internal/ai-core-tools/ai-tool-json-validator-repair
Termshttps://opensource.org/licenses/MIT
CategoryDeveloper, Tech & Web › AI Core Daily Tools