orphea parent
I will pick JSON over YAML every single time. Not because JSON is so good, it's just YAML is so much more cancerous.
“I don’t want to learn how to use it properly therefore it’s like [bad thing I clearly have no experience of]”
JSON is not fit for purpose as a configuration format. Use YAML or don’t, use properties if you like. JSON is first and foremost for m2m- it’s even in the name “Object Notation”
Can you explain why is Yaml cancerous
(Genuine question)
I have always preferred (even without thinking) to use configuration files as Yaml and kept Json for interprocess communication
Many people explained it better than I ever could, so let me defer to them. TL;DR: YAML is an overcomplicated spec with too many footguns.
- https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-fr...
- https://www.arp242.net/yaml-config.html
- https://noyaml.com/ (couldn't not mention this famous piece)