sha256 57155e9c2c760076f8ac1774873ecf700aa100d0b2299d325e2ea78793284190
%YAML 1.2 %TAG !n-1! tag:yaml.org,2002: --- # c1 &a1 "False": # c2 !n-1!map &a2 # c3 -22.21875: *a1 # c4 # c5 ? # c6 "a:b": 41 # c7 : Null # c8
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| features | node/alias node/anchor node/tag-handle presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/property-line presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive presentation/yaml-directive value/mapping value/non-string-key value/null |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yaml.v3
refuse by the parser
yamlstar
{"False":{"-22.21875":"False"},"{\"a:b\" 41}":null}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'mapping' | |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | 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 | rejected, explained refuse by the loader | not scored | refused | json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged | [12:9] a mapping cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.