For server side scripts I'm wondering if there is an inherent advantage to returning XML vs JSON (or vice versa). I've always returned XML because I find it's more human readable, and thus I can verify the data better.
I'm talking strict data structures (arrays,lists, etc), no HTML. I would imagine there is a performance penalty for parsing the XML into a data structure vs JSON. There could potentially be security problems parsing JSON? What do (you) the experts think?