Closed pwfff closed 8 years ago
Thanks, one question: so there is no magic mark to distinguish a yaml file?
I don't think so :( I'm going with Python's EAFP style here. If we can parse it as YAML, it must be YAML :) the JSON check seems good though, so I left it in. See http://stackoverflow.com/questions/11360858/what-is-the-eafp-principle-in-python
If more formats are supported later this may become more complex.
Fixes issues #54