Home About Archives Search Feed

When XML beats JSON: UI layouts - Instawork Engineering

🔒 engineering.instawork.com

I do think a lot of developers are biased that XML is just bloated and bad”. This article makes a good point, it’s a different thing than JSON.

Both XML and JSON can represent complex nested data structures, but they excel at different types of structures. JSONs origins as a subset of JavaScript can be seen with how easily it represents key/value object data. XML, on the other hand, optimizes for document tree structures, by cleanly separating node data (attributes) from child data (elements).


Posted on November 10, 2019

← Next post    ·    Previous post →