generated/1781

sha256 11f90effa612684cc34c29e974e6e84684a98fc7785eb4afc3ae740acd790520

Document

---
{<<: &a2 ["\t": -1, '': -5], '': !!seq [], "\t": null, '0b1010': &a1 true, ["
! \r̄
"]: *a1}

Corpus

grammarvalid, vouched for up to construct
json/not-representableopen from construct on: each parser's stance decides
featuresbreak/cr node/alias node/anchor node/tag-shorthand presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/quoted-double presentation/quoted-single value/bool value/empty-collection value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

accept

yaml.v3

refuse by the parser

value

yamlstar



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
yamlstar accepted accept not scored n/i
yaml.v3 rejected, tagged refuse by the parser not scored refused json/not-representable: yaml.v3 has not ruled on this yaml.v3: yaml: line 1: did not find expected ',' or '}'
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 [2:76] a sequence cannot be a JSON key

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.