Mastercard interview question

What's the difference between a JSON and a XML object?