The following will parse, but the document will be undef
perl -MYAML::Tiny -e 'warn YAML::Tiny->new->read_string( "{a:1}" )'
"{a:1}" seems to be parsed the same as the empty map "{}"
YAML::Tiny should probably die if it sees you trying to parse something
like this