Anyone out there using YAML as a data DSL in .NET? I’d like to use YAML because it’s more lightweight than XML. I intend to use this DSL as a “power user” configuration tool for one of my existing applications.
My concerns:
- How is the support for YAML using one of the .NET community libraries?
- Does YAML have staying power? Will it still be around 4 years from now? Or will we be talking about some other format? I know JSON and XML are going to be around for a while, but my users aren’t going to want to write or maintain JSON or XML documents.
If it’s a user-facing document, don’t worry about the ‘staying power’ of YAML. Worry about making the users happy with some DSL. That being said, I would choose YAML over XML.
Outside of the user-facing portion, I wouldn’t use YAML for much. XML has so much more going for it *that I can imagine*, that it would be in your best interest to use something richer and more widely used (esp. by .NET).
Even if you had to create your own language to satisfy your users, it would probably be worth it to not force them to look at XML.