Re:That's a Lot of YAML
by deafpolygon on Friday September 29, 2023 @02:36AM
(#37700048)
This. I've said it in one of the other threads re: YAML. TOML is great for simple user editable configs. Once you get into data exchange territory, use XML. Just the ability to define a schema and 'test' your XML document conforms is powerful and can tell you if something's wrong long before you end up with catastrophic failures.
If you think you need to serialize something more complex, use XML. It might look ugly, but it’s very powerful, can be verified on many levels and has a mature ecosystem.
“Cooler” doesn’t always mean better, especially for bigger data. Neither YAML, nor JSON scales to that sizes while being readable and easy to maintain.