sha256 21dc4cd4c3e5520e9d3fcdcdc7cc1d81e3cfa475d65147dccb3fc3f4d59d0add
---
"1": &a1 !<tag:yaml.org,2002:bool> False # c1
"a\"b": !<tag:yaml.org,2002:binary> "eZQCAQ==" # c2
" nbsp": &a2 1 # c3
*a1 : |-
aliased
| grammar | valid, vouched for up to construct |
| representation/binary | open from construct on: each parser's stance decides |
| features | node/alias node/anchor node/tag-verbatim presentation/block-literal presentation/chomp-padded presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-double presentation/tab-separation value/binary value/bool value/int value/mapping value/non-string-key value/string |
| meaning (yaml-1.2-core) | {"1":false,"a\"b":"eZQCAQ==","false":"aliased"," nbsp":1} |
go-yaml perlref yaml.v3
accept
libfyaml
accept, then the loader refuses past parse
yamlstar
refuse by the loader
go-yaml
{"1":false,"a\"b":"eZQCAQ==","false":"aliased"," nbsp":1}yaml.v3
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | unscored | n/i | value: the loader rejects the document past parse, where the verdict is given | UnicodeDecodeError: 'utf-8' codec can't decode byte 0x94 in position 1: invalid start byte |
| yamlstar | rejected, explained refuse by the loader | rejected, explained | n/i | tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" |
Error: Unknown tag: tag:yaml.org,2002:binary |
| yaml.v3 | accepted accept | different, explained | same | value: binary-as-bytes: yaml.v3 decodes !!binary into its bytes, which the runner writes as a string, where the corpus states the base64 text: !!binary "Iwc=" comes back as "#\u0007" | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.