sha256 99654e43beda98e663c4c3bb32cccaa51e1b6ec250f4b99216a5441c7f834028
!<tag:yaml.org,2002:set>
? 'base'
:
&m4
? 'o9'
: -2
? !<!foo> 'o'
:
!<tag:yaml.org,2002:omap>
-
? 'o0'
: 0x1
-
? 'o8'
: *m4
? 's'
:
!<tag:yaml.org,2002:set>
? 's0'
: Null
? 's1'
: Null
? 's2'
: Null
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | node/alias node/anchor 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) | {"base":{"o9":-2},"o":{"o0":1,"o8":{"o9":-2}},"s":{"s0":null,"s1":null,"s2":null}} |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml
{"base":{"o9":-2},"o":{"o0":1,"o8":{"o9":-2}},"s":{"s0":null,"s1":null,"s2":null}}libfyaml yaml.v3
{"base":{"o9":-2},"o":[{"o0":1},{"o8":{"o9":-2}}],"s":{"s0":null,"s1":null,"s2":null}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| 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 | rejected, explained refuse by the loader | rejected, explained | n/i | tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" |
Error: Unknown tag: !foo |
| yaml.v3 | accepted accept | different, explained | differentdocument 0written base:
o9: -2
o:
- o0: 1
- o8:
o9: -2
s:
s0: null
s1: null
s2: null
read back {"base":{"o9":-2},"o":[{"o0":1},{"o8":{"o9":-2}}],"s":{"s0":null,"s1":null,"s2":null}} |
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.