sha256 12635f9ad1b07c90315e3a5349eb321e8505b37763f65c989aaeb498e18919ef
%YAML 1.2
%TAG !n-1! tag:yaml.org,2002:
---
!foo {!n-1!str 'a: b: c': FALSE}
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/tag-handle node/tag-local presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-single presentation/tag-directive presentation/yaml-directive value/bool value/mapping value/non-string-key |
| meaning (yaml-1.2-core) | {"a: b: c":false} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml yamlstar
{"a: b: c":false}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | accepted accept | ok | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | rejected, explained | refused | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document |
yaml.v3: yaml: found incompatible YAML document |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.