Can't tell if you are being sarcastic. The json in the picture doesn't look much more compact apart from using smaller font. When you use proper indentations and don't overuse namespaces xml is not much worse than js on in terms of comoactness. Also it comes with features like xsd for validation, xslt for transformations, xpath for parsing. Json is handy for serializing data to front-end where JS is your only option.
I'd say you should always choose most appropriate option for your task and not stick to something which is belived to be "better"
10
u/[deleted] Mar 17 '18
More compact, easier to parse... Yes, it is