generated/1067

sha256 608621246200dba9df3a3b8ca63f4742bd3cf82833b0299fc77329e3fb5f00bd

Document

%TAG !x! tag:yaml.org,2002:
---
# c1
"base": &m4 {"o9": -1}
# c2
"o": !x!omap &m3 ["o0": 1, "o1": 3, <<: *m4, "o8": *m4]
# c3
"again": *m3

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf node/alias node/anchor node/tag-handle presentation/comment-above presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"again":{"o0":1,"o1":3,"\u003c\u003c":{"o9":-1},"o8":{"o9":-1}},"base":{"o9":-1},"o":{"o0":1,"o1":3,"\u003c\u003c":{"o9":-1},"o8":{"o9":-1}}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"\u003c\u003c":{"o9":-1},"o0":1,"o1":3,"o8":{"o9":-1}},"base":{"o9":-1},"o":{"\u003c\u003c":{"o9":-1},"o0":1,"o1":3,"o8":{"o9":-1}}}

libfyaml

{"again":{"o0":1},"base":{"o9":-1},"o":[{"o0":1},{"o1":3},{"\u003c\u003c":{"o9":-1}},{"o8":{"o9":-1}}]}

yaml.v3 yamlstar

{"again":[{"o0":1},{"o1":3},{"o9":-1},{"o8":{"o9":-1}}],"base":{"o9":-1},"o":[{"o0":1},{"o1":3},{"o9":-1},{"o8":{"o9":-1}}]}

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: merge-key-applied: the loader applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
yaml.v3 accepted accept different, explained same value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key
go-yaml accepted accept ok same

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