top | item 36477274

(no title)

yodelinghambone | 2 years 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?

discuss

order

phlakaton|2 years ago

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.