Remix.run Logo
marxisttemp 3 hours ago

XML is much more readable than JSON, especially if your data has characters that are meaningful JSON syntax

galaxyLogic 3 hours ago | parent [-]

I think readability is in the eye of the reader. JSON is less verbose, no ending tags everywhere, which I think makes it more readable than XML.

But I'd be happy to hear about studies that show evidence for XML being more readable, than JSON.

ezfe 27 minutes ago | parent [-]

I disagree that XML is more readable in general, but for the purpose of tagging blocks of text as <important>important</important> in freeform writing, JSON is basically useless