News for hackers. Stuff that matters.
Re:When XML Beats JSON: UI Layouts by arethuza on Wednesday October 30, 2019 @12:58PM (#21399862)
Why not just:

[ "div", "The ", [ "a", { "href": "https://www.json.org/" }, "JSON format" ], " was invented by ", [ "em", "Douglas Crockford" ], "." ]

First thing in array is element, if there is an object at the second location then that's the attributes?

Re:When XML Beats JSON: UI Layouts by 52-6F-62 on Wednesday October 30, 2019 @02:56PM (#21401206)
Yeah that seems to make the most sense. I had to actually work it out before I saw it. I was looking for some further separation beyond indices but I just ended up over-thinking it.