Comment by int_19h

11 hours ago

I mean, XML has its own bizarre idiosyncrasies like the whole attribute vs child element distinction (which maps nicely to text markup but less so for object graphs).

I would say that the main benefit of XML is that it has a very mature ecosystem around it that JSON is still very much catching up with.