sha256 855cbfec1c379571dd452fa42cd6636287d96ffe06492bd2e8c61d692b47fe17
%YAML 1.2
---
{'base': &m4 {'o9': 06}, 'o': &m3 !<tag:yaml.org,2002:omap> [<<: {'o9': 07}, 'o0': 06, 'o1': 00, 'o8': *m4], 'again': *m3}
| 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/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/quoted-single presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"again":{"\u003c\u003c":{"o9":7},"o0":6,"o1":0,"o8":{"o9":6}},"base":{"o9":6},"o":{"\u003c\u003c":{"o9":7},"o0":6,"o1":0,"o8":{"o9":6}}} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml
{"again":{"\u003c\u003c":{"o9":7},"o0":6,"o1":0,"o8":{"o9":6}},"base":{"o9":6},"o":{"\u003c\u003c":{"o9":7},"o0":6,"o1":0,"o8":{"o9":6}}}libfyaml
{"again":{"o9":7},"base":{"o9":6},"o":[{"\u003c\u003c":{"o9":7}},{"o0":6},{"o1":0},{"o8":{"o9":6}}]}yamlstar
{"again":[{"o9":7},{"o0":6},{"o1":0},{"o8":{"o9":6}}],"base":{"o9":6},"o":[{"o9":7},{"o0":6},{"o1":0},{"o8":{"o9":6}}]}
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 | 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 | rejected, explained refuse by the parser | rejected, explained | refused | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document |
yaml.v3: yaml: found incompatible YAML document |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.