moultingyaml: Scala wrapper for SnakeYAML
Comment¶
If the input YAML doc has multiple formats,
you can first load it as an Object
and then use Object.isInstanceOf
to check its type
and use Object.asInstanceOf[SomeType]
to cast it to the right type.