I am designing an API for my webapp.
I was thinking to support only JSON responses (not XML) because more streamlined.
But I have just bumped to this XML:
Excluding the attribute names that are always same length, JSON will be always more compact as just does not have closing tags ;)