engineering.instawork.com · Saved

When XML beats JSON: UI layouts - Instawork Engineering

engineering.instawork.com/when-xml-beats-json-ui-layouts-53c7f1d3fdb7

What Jamie wrote

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. JSON’s 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).

🤓