generated/849

sha256 30f14fde1498ad6421101d0cadeccc4201b70c374f07ad384dd75ffe5062c611

Document

---
? 'n'
: !!null null # c1
? 't'
: !!timestamp '1917-04-01T00:54:01.29Z' # c2
? !foo 'b'
: !!binary 'CrAB' # c3

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/binaryopen from construct on: each parser's stance decides
representation/timestampopen from construct on: each parser's stance decides
featuresencoding/byte-order-mark node/tag-local node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-single value/binary value/mapping value/non-string-key value/null value/timestamp
meaning (yaml-1.2-core){"b":"CrAB","n":null,"t":"1917-04-01T00:54:01.29Z"}

Answer groups

verdict split

go-yaml perlref yaml.v3

accept

libfyaml

accept, then the loader refuses past parse

yamlstar

refuse by the loader

value split

go-yaml

{"b":"CrAB","n":null,"t":"1917-04-01T00:54:01.29Z"}

yaml.v3

{"b":"\n�\u0001","n":null,"t":"1917-04-01T00:54:01.29Z"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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 0xb0 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:timestamp
yaml.v3 accepted accept different, explained different
document 0

written

b: !!binary CrAB
"n": null
t: 1917-04-01T00:54:01.29Z

read back

{"b":"\n�\u0001","n":null,"t":"1917-04-01T00:54:01.29Z"}
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.