Well, I think YAML is really fantastic ...
This is a beautiful, easy to read, smart syntax ... compared to any other data serialization format. As a superset of JSON we could say that it is in more detail, therefore, its evolution of the language.
But I see several different opinions, for example:
- Yaml is dead
- do not use yaml etc.
I just can't figure out what it's based on, because it seems so enjoyable :)
If we take some good examples on the Internet, such as Ruby on Rails , we know that they use yaml for easy customization, but one thing that interests me is why yaml is not part of most of the formats used over the web , such as XML and JSON.
If you take twitter, for example ... why not offer YAML data from the API?
Is there something wrong with doing this?
We can see evolution in no-sql databases such as couchdb , mongo , all json-based, even one large project called jsondb that looks very lightweight and it can definitely do the job.
But when writing data structures in json, I really can't understand why YAML is not used instead.
So, one of my problems will be if something is wrong with YAML?
People may say this is complicated, but well, if you pretend to use the same functions as json , it is definitely not . You will get a more beautiful file for confidence and without any extra hassle. It would be really more complicated if you decide to use more features, but be that as it may, at least you have the option to use it if you want.
Being able to choose whether or not to use double quotes for a string is fantastic, makes it all cleaner and easier to read .... well, you see, my point :)
So my question is: why is YAML not used mainly instead of JSON ?
Why doesn’t it seem that it will be used to transmit data in the online community?
All I see are people who use it for simple configuration files, and nothing more ...
Please bear with me, as I may be completely wrong, and there may be very large projects, and my ignorance on this issue did not allow me to be part of it :)
If there is any big project based on the barley, I would be very happy to know about it
Thank you in advance