generated/1789

sha256 a2100beca8e719141ac7563280b45dd171539ad89252b5ef4fa931ab0b008a9f

Document

---
# c1
"o": !!omap &m3 [{"o0": 8}] # c2
# c3
"again": *m3 # c4
# c5
"p": !!pairs [{"p0": 1}, {"p0": 2}] # c6
# c7
"s": !!set {"s0": NULL, "s1": NULL} # c8

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresnode/alias node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-double presentation/tag-before-anchor value/int value/mapping value/null value/sequence
meaning (yaml-1.2-core){"again":{"o0":8},"o":{"o0":8},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"o0":8},"o":{"o0":8},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

libfyaml

{"again":{"o0":8},"o":[{"o0":8}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

yaml.v3 yamlstar

{"again":[{"o0":8}],"o":[{"o0":8}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: ordered-map-as-sequence: the Python binding has no ordered map, and returns !!omap as a sequence of one-pair mappings
yamlstar accepted accept different, explained n/i value: ordered-map-as-sequence: the loader has no ordered map, and builds !!omap as a sequence of one-pair mappings
yaml.v3 accepted accept different, explained same value: ordered-map-as-sequence: yaml.v3 has no ordered map, and decodes !!omap as a sequence of one-pair mappings
go-yaml accepted accept ok same

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