Re:XML is better than YAML
by Spivak on Wednesday September 20, 2023 @11:37PM
(#37592945)
I think there's a happy middle ground that I'm shocked doesn't exist or is obscure as hell because I've never found it in the wild is a "default" schema that is compatible with JSON types and can be serialized the same way JSON does. Because whenever it comes up on the on-disk format seems pretty irrelevant people just want to have an xml.load to map to their language primitives in a sane way.
[ Parent
| on HN ]
Re:XML is better than YAML
by AtlasBarfed on Thursday September 21, 2023 @09:33PM
(#37606810)
I think there could be, but it's ugly. The XStream library wasn't horrid, but it basically provides a way to serialize/deserialize from the java object defs, which is still a schema of sorts.
You know <key name="blah">key value</key>. It just highlights the extra verbiage, and pushes people towards "just use json/yaml".