unfortunately JSON is doomed to fail in "the AI era"

LLMs are surprisingly bad at generating JSON.

Are they in 2026? I haven't had an issue with json and LLMs in a long while

JSON, CSS, JS config files… for me it tends to omit fields and produce unwanted or duplicate ones.

But way less so in TS. Because the types/interfaces are there to guide it further.

So everyone’s adding types everywhere: “Agent friendly”

What would a CSS type system look like !

I would love a CSS type system for humans. The language never stays in my brain for more than 2 weeks and then I have to re-learn it from scratch.

Same, and I guess it already is (pretty strongly) typed but yeah

> for humans

And dare I say “agents” - it’d be nice to have very nuanced types

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

Why is that?