My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Which one is a better data exchange format for building web APIs : JSON or XML?

Rick's photo
Rick
·Apr 30, 2016

JSON

98%

XML

2%

121 votes · Closed

The senior architects in my company think that APIs that use XML as data interchange format are better and easy to manage. Do you think XML APIs have any real benefits today? Isn't JSON a better data interchange format? Which one according to you is better?

P.S. If you say use the right tool for the right job, I would like you to mention the areas in which each one excels.