shape/tag/an omap as a mapping value and as a sequence element

sha256 d5c348b6d4614b27e0ed593b994bd59a588813fd4177e2ff4277718106c9239e

Document

k: !!omap [{x: 1}]
l:
  - !!omap [{b: 2}]

Corpus

grammarvalid, vouched for up to construct
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

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

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

libfyaml yaml.v3 yamlstar

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

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 accepted accept not scored same

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