unfortunately JSON is doomed to fail in "the AI era"
LLMs are surprisingly bad at generating JSON.
You can use skills or harnesses to have them validate their json (using plain old JSON validation or schemas) and they seem to have a very high success rate with that gate in place. It's slightly more tokens, but it's reliable
Are they in 2026? I haven't had an issue with json and LLMs in a long while
Why is that?
You can use skills or harnesses to have them validate their json (using plain old JSON validation or schemas) and they seem to have a very high success rate with that gate in place. It's slightly more tokens, but it's reliable