News for hackers. Stuff that matters.
Re:When XML Beats JSON: UI Layouts by ChrisMarshallNY on Wednesday October 30, 2019 @09:55AM (#21397738)
It would, if anyone used it.

The thing about XML Schema, is that it is completely "baked into" pretty much every tool and library out there, so you can do "on-the-fly" runtime validation.

JSON is really about minimizing text. It works really well for this.

Another issue, is that JSON doesn't have comments, so it can be difficult to annotate a JSON file.

There are no comments on this comment yet.