generated/1322

sha256 776933fa8029c02cc09104cda5f02cb8e7b2afcfadb3bbbaf24cc9f599e1e5be

Document

---
? 'base'
:
      &m4
      ? 'o9'
      : -2
? ! 'o'
:
      !<tag:yaml.org,2002:omap> &m3
      -
            ? <<
            : *m4
      -
            ? 'o0'
            : -1
      -
            ? 'o1'
            : 1
      -
            ? 'o8'
            : *m4
? 'again'
: *m3

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf encoding/byte-order-mark node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"again":{"\u003c\u003c":{"o9":-2},"o0":-1,"o1":1,"o8":{"o9":-2}},"base":{"o9":-2},"o":{"\u003c\u003c":{"o9":-2},"o0":-1,"o1":1,"o8":{"o9":-2}}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

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

libfyaml

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

yaml.v3 yamlstar

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

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.