PulseAugur
EN
LIVE 21:59:35

json-repair excels at extracting LLM-wrapped JSON, outperforming jsonshim

A new benchmark, MALFORMED-300, evaluates how well parsers can extract JSON from malformed LLM outputs, particularly when JSON is wrapped in other formats like XML, HTML, or SQL. The json-repair tool achieved a perfect score of 25/25 in this specific category, outperforming jsonshim (17/25) and standard libraries (0/25). However, across the entire 300-case benchmark, jsonshim still leads with an overall score of 94.0%, while json-repair follows at 88.3%. AI

IMPACT Improves LLM output parsing reliability, potentially reducing errors in applications that consume LLM-generated structured data.

RANK_REASON The item details the performance of a specific tool, json-repair, on a benchmark for parsing malformed LLM outputs.

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

json-repair excels at extracting LLM-wrapped JSON, outperforming jsonshim

How we ranked this

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
The item details the performance of a specific tool, json-repair, on a benchmark for parsing malformed LLM outputs.
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
4 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Toolkit Labs ·

    LLM JSON wrapped in XML tags: json-repair scores 25/25, jsonshim 17/25

    <p>When an LLM wraps JSON inside XML tags, markdown fences, or SQL fragments, <strong>json-repair</strong> scores <strong>25/25</strong> on the wrapper-tagged cases in <a href="https://toolkitlabs.org/malformed300/?s=devto-wrappers240" rel="noopener noreferrer">MALFORMED-300</a>.…