sha256 9dbcb3647f7dc5659bdd52735f410c90f0781fa227b5ca946434bca0154fb141
!foo n: !!null null t: !!timestamp "\x31\x39\x34\x30\x2D\x30\x35\x2D\x31\x33\x74\x30\x31\x3A\x30\x38\x3A\x30\x31\x5A" b: !!binary "\x77\x41\x41\x43\x41\x67\x3D\x3D"
| 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 |
| representation/timestamp | open from construct on: each parser's stance decides |
| features | encoding/byte-order-mark node/tag-local node/tag-shorthand presentation/escape-hex presentation/plain presentation/quoted-double presentation/time-lower-t value/binary value/mapping value/non-string-key value/null value/timestamp |
| meaning (yaml-1.2-core) | {"b":"wAACAg==","n":null,"t":"1940-05-13T01:08:01Z"} |
go-yaml yaml.v3
accept
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
refuse by the parser
go-yaml
{"b":"wAACAg==","n":null,"t":"1940-05-13T01:08:01Z"}yaml.v3
{"b":"�\u0000\u0002\u0002","n":null,"t":"1940-05-13T01:08:01Z"}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| 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 0xc0 in position 0: invalid start byte |
| yamlstar | rejected, explained refuse by the parser | rejected, explained | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document |
Error: parse: Parser finished before end of input |
| yaml.v3 | accepted accept | different, explained | differentdocument 0written b: !!binary wAACAg== "n": null t: 1940-05-13T01:08:01Z read back {"b":"�\u0000\u0002\u0002","n":null,"t":"1940-05-13T01:08:01Z"} |
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.