What XML is also very good at is: representing tagged text, what is called "mixed content" in XML terminology. Just try to write the JSON equivalent of: The JSON format was invented by Douglas Crockford . If your document consists mainly in losely structured text with some annotation, you better use XML.
Just imagining a JSON that starts with
"dummy": "don't remove this or the API will mis-align this across two structs!!!"