News for hackers. Stuff that matters.
Re:XML is better than YAML by kstrauser on Wednesday September 20, 2023 @02:44PM (#37588230)
Pro tip: remember that all JSON is valid YAML. You can put JSON in a .yaml file and be just fine. I find that handy when the explicitness makes it easier to read the file.
Re:XML is better than YAML by marcosdumay on Wednesday September 20, 2023 @10:19PM (#37592547)
As long as you remove all the indenting.

All JSON evaluates to some value in YAML. But it's not always the value you want it to.