shape/tag/an omap element holding two entries

sha256 16b21abe1b4ecba6e8b52c91ae4f262a262171cf29efdaeabc08cca20baf32f5

Document

!!omap [{x: 1, b: 2}]

Corpus

grammarvalid, vouched for up to construct
tag/omap-not-a-sequence-of-pairsopen from construct on: each parser's stance decides
tag/secondaryaccept from compose on, 6.8.2.2: the secondary handle is declared by default as tag:yaml.org,2002:
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml perlref yaml.v3 yamlstar

accept

value

libfyaml yaml.v3 yamlstar

[{"b":2,"x":1}]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar accepted accept not scored n/i
yaml.v3 accepted accept not scored same
go-yaml rejected, as declared refuse by the loader not scored refused tag/omap-not-a-sequence-of-pairs: go-yaml refuses this on purpose [1:8] !!omap names a sequence of one-entry mappings

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