generated/2975

sha256 fc2a2f0da6373860fec71feb66e30ac9e58b8c9c72fad62cfb6d5529affbfffb

Document

? 'o'
: !!omap &m3
  -
    ? <<
    :
      ? 'o9'
      : 0o7
  -
    ? 'o0'
    : -1
? 'again'
: *m3
? 'p'
: !!pairs
  -
    ? 'p0'
    : 0o1
  -
    ? 'p0'
    : 0o2
? 's'
: !!set
  ? 's0'
  : null
  ? 's1'
  : null

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-shorthand presentation/explicit-key presentation/number-octal presentation/plain presentation/quoted-single presentation/tag-before-anchor value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (yaml-1.2-core){"again":{"\u003c\u003c":{"o9":7},"o0":-1},"o":{"\u003c\u003c":{"o9":7},"o0":-1},"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":{"\u003c\u003c":{"o9":7},"o0":-1},"o":{"\u003c\u003c":{"o9":7},"o0":-1},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

libfyaml

{"again":{"o9":7},"o":[{"\u003c\u003c":{"o9":7}},{"o0":-1}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}

yaml.v3

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

yamlstar

{"again":[{"o9":"0o7"},{"o0":-1}],"o":[{"o9":"0o7"},{"o0":-1}],"p":[{"p0":"0o1"},{"p0":"0o2"}],"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: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15
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.