generated/1721

sha256 f2cd2c9c5872e3a9ebf8cdea78775a223732f6f6db586f1cc8e08b6cd38af4b1

Document

{base: &m4 {o9: +6}, o: !!omap [o0: +9, <<: {o9: +7}, o8: *m4]}

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/cr node/alias node/anchor node/tag-shorthand presentation/flow-collection presentation/flow-pair presentation/number-signed presentation/plain value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"o9":6},"o":{"o0":9,"\u003c\u003c":{"o9":7},"o8":{"o9":6}}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"base":{"o9":6},"o":{"\u003c\u003c":{"o9":7},"o0":9,"o8":{"o9":6}}}

libfyaml

{"base":{"o9":6},"o":[{"o0":9},{"\u003c\u003c":{"o9":7}},{"o8":{"o9":6}}]}

yaml.v3 yamlstar

{"base":{"o9":6},"o":[{"o0":9},{"o9":7},{"o8":{"o9":6}}]}

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.