4
What is a YAML file for and when it is appropriate to create it in a project?
4
What is a YAML file for and when it is appropriate to create it in a project?
3
No context was given, but if you’re talking about YAML is a serialized data format that we can say is a competitor of JSON. It is simpler and more economical.
You can use it whenever you think it fits your every need. It’s usually a good substitute for JSON. But I wouldn’t use it on external things because a lot of people won’t know or won’t be able to access this format. JSON and XML became universal standards, YAML did not. But generally I like it better. You don’t have a specific criterion to adopt you on internal things that won’t need to communicate with anything you don’t have control of.
The fact that fewer people use makes it harder to find information and help, but it’s also mouse to need.
Although simpler it is offers more than JSON. A little less than XML which is extremely complex.
Browser other questions tagged configuration yaml
You are not signed in. Login or sign up in order to post.
Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site.
– Maniero