https://www.neowin.net/news/new-system32-files-suggest-micro...
https://www.neowin.net/news/new-system32-files-suggest-micro...
They're still using XML? Yuck. UWP was a horrible idea, but this new replacement might not be any better either.
What makes you feel that XML is “yuck” here?
But for documents and document-like things such as user interfaces, I think tag based markup is a good fit. I mean html is doing better than ever, so why not xml? Not having 1gig worth of electrons is nice too.
Another thing with xml is that if you give it a finger it tries to take the whole arm and guilt you into using more and more xml technologies like xsd's and dtd's and namespacing and xslt's and before you know it you are neck deep in xml arcana.
Json is also more terse but that's less important.
Is there a way to specify a json schema like you do with xsd?
I've seen https://json-schema.org/ in use most often, but it's not directly associated with JSON and support depends on how close your software stack seems to be to Javascript frontend web development. It's still an IETF draft at the moment, and development seems to have stopped: https://datatracker.ietf.org/doc/html/draft-bhutton-json-sch...
Alternatively, you could theoretically use YAML schemas to validate JSON, as standard JSON is also valid YAML.
Being able to generate XSD from your code and then just pass that off to someone else while remaining generally language-agnostic is extremely powerful. JSON is cheap and easy, but it's really not that great.