generated/1917

sha256 796a41ea302b38583c7a6060eae84adbcfbcf64cbc318c7cf48be3713328a5c5

Document

? 'base'
:
      &m4
      ? 'o9'
      : 0x5
? 'o'
:
      &m3 !<tag:yaml.org,2002:omap>
      -
            ? 'o0'
            : 0x1
      -
            ? 'o8'
            : *m4
? 'again'
: *m3
? ! 's'
:
      !<tag:yaml.org,2002:set>
      ? 's0'
      : ~
      ? 's1'
      : ~
      ? 's2'
      : ~

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresnode/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/explicit-key presentation/number-hex presentation/plain presentation/property-line presentation/quoted-single value/int value/mapping value/non-string-key value/null value/sequence
meaning (yaml-1.2-core){"again":{"o0":1,"o8":{"o9":5}},"base":{"o9":5},"o":{"o0":1,"o8":{"o9":5}},"s":{"s0":null,"s1":null,"s2":null}}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"again":{"o0":1,"o8":{"o9":5}},"base":{"o9":5},"o":{"o0":1,"o8":{"o9":5}},"s":{"s0":null,"s1":null,"s2":null}}

libfyaml

{"again":{"o0":1},"base":{"o9":5},"o":[{"o0":1},{"o8":{"o9":5}}],"s":{"s0":null,"s1":null,"s2":null}}

yaml.v3

{"again":[{"o0":1},{"o8":{"o9":5}}],"base":{"o9":5},"o":[{"o0":1},{"o8":{"o9":5}}],"s":{"s0":null,"s1":null,"s2":null}}

yamlstar

{"again":[{"o0":"0x1"},{"o8":{"o9":"0x5"}}],"base":{"o9":"0x5"},"o":[{"o0":"0x1"},{"o8":{"o9":"0x5"}}],"s":{"s0":null,"s1":null,"s2":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: 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.