When XML beats JSON: Extensibility · Hyperview
In [Part 1](/blog/2019/01/16/When-XML-Beats-JSON-1) of this series of blog posts, we explored the relative strengths and weaknesses of JSON and XML when representing various data structures. For key-value based data, JSON is the clear winner. But XML beats JSON when it comes to representing tree structures. Since UI layouts are commonly represented as trees, XML is the natural choice for a UI framework like Hyperview.
hyperview.org