Question d’entretien chez FirstBest

Asked about differences between having a REST API return XML and JSON and why you might want to use XML instead of JSON

Réponse à la question d'entretien

Utilisateur anonyme

15 mai 2015

My answer focused on the "lightness" (terse) of payload of JSON vs. the more verbose/larger XML but that they could represent similar data structures and semantics. Because it had been so long since I had used XML, I forgot that XML had a capability of being validated against a schema. And they seemed to want to hear that come up quickly and prominently. Oops!