sha256 cbbf31bccf7fd730c396fdebf5e7d0f4748e0ecaa5e91ada39f7040ec98430b4
%YAML 1.1 --- !!set 'n': !!null NULL # c1 'b': !!binary '76QAoSBD' # c2
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| representation/binary | open from construct on: each parser's stance decides |
| features | encoding/byte-order-mark node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single presentation/tab-separation presentation/yaml-directive value/binary value/mapping value/null |
| meaning (yaml-1.2-core) | {"b":"76QAoSBD","n":null} |
go-yaml perlref yaml.v3
accept
libfyaml
accept, then the loader refuses past parse
yamlstar
refuse by the loader
go-yaml
{"b":"76QAoSBD","n":null}yaml.v3
{"b":"��\u0000� C","n":null}
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 bytes in position 0-1: invalid continuation 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.