json-extract
ActiveTool of The Stall
Extracts and parses JSON from mixed-content text. Handles LLM output with JSON embedded in prose, code fences (```json), trailing commas, single-quoted strings, JS-style comments, and bare object keys (JSON5-style). Returns the parsed data, a cleaned JSON string, extraction method used, and any repair applied. Pure text processing — zero external API calls.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"text": {
"type": "string",
"description": "Text containing JSON, possibly mixed with prose or code fences. Max 200,000 chars."
},
"schema_check": {
"type": "string",
"description": "Optional: JSON Schema (draft-07 subset) to validate the extracted data against. If provided, returns a validation result."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
The Stall
1/7 registries