
YamlDotNet, Interfaces, Lists, and Classes
First things first…YamlDotNet is a great library and I’m thankful it exists and is so well maintained. Also, this is just how I figured out a solution to my requirement. I’m fully open to and would welcome suggestions on a simpler way to do this. I was recently trying to find a way to do some configuration definitions in as clean a manner as possible. Generally, I’m not a fan of YAML and agree with many of the complaints about YAML. But YAML is probably the most plain english and clutter free model for defining a configuration. XML and JSON are much preferred - in my developer brain - but JSON is harder to write by hand and XML seems to have fallen out of favor. (Personal note: I still have a love for XML and XML Schema.) ...