Hacker News new | ask | show | jobs
by yodelinghambone 1090 days ago
Any interaction I've had with XML has been a negative experience.

Can someone explain to me how JSON is not superior in every way?

1 comments

I'll give just one obvious one: XML is far more resilient against syntax errors. Miss a closing tag in XML and a clever parser might even be able to infer it. With JSON, you know you're missing a brace at the end, but you have no idea where it should go.