Domanda di colloquio di FirstBest

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

Risposta di colloquio

Anonimo

15 mag 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!