← all corpora

jsonformer

reference corpus · status live · domain AI (AI, prompts and agents) · lane A · refresh pinned · tags GLOBAL · STRUCTURED-OUTPUT · JSON · CONSTRAINED-DECODING

What an agent uses it for

An agent forcing valid JSON from a local model queries this for token-level structured decoding over a schema.

Use it
curl -fsSLO https://raw.githubusercontent.com/xerj-org/xerj/corpus-hub/tools/xerj-code/hub/jsonformer.json
xerj corpus add --from ./jsonformer.json
xerj corpus index jsonformer then xerj code jsonformer "your question"

Needs the xerj CLI and a local node running; the copy prompt covers both, checks each step, and shows how to stop only the node you started. No shell: the MCP tool xerj_code_search with corpus: "jsonformer", once the corpus is indexed on the node.

Sources and pins

sourcepinlicencesizereview note
jsonformer bfad031876acMIT 300.4 KB / 15 files licence host-verified (ok-spdx): MIT

300.4 KB across 15 files. Added 2026-10-13.

Rights

MIT. Redistribution permitted with attribution per the licence review. The review block records a human opening each licence file at the pin. Detector output is a hint, never the verdict.

Retrieval spot-check (G7)

Not yet spot-checked. Queries are pre-registered in the registry before grading.