sha256 0769797798f4ed8da96774ceafaddf8334c5e593df24ea9e4bed38bc1497f18b
%YAML 1.2
---
{'base': &m4 {'o9': -2}, 'o': &m3 !!omap ['o0': -2, 'o1': -3, 'o2': 3, <<: *m4], !foo 'again': *m3} # c1
| 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-local node/tag-shorthand presentation/comment-inline 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":{"o0":-2,"o1":-3,"o2":3,"\u003c\u003c":{"o9":-2}},"base":{"o9":-2},"o":{"o0":-2,"o1":-3,"o2":3,"\u003c\u003c":{"o9":-2}}} |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"again":{"\u003c\u003c":{"o9":-2},"o0":-2,"o1":-3,"o2":3},"base":{"o9":-2},"o":{"\u003c\u003c":{"o9":-2},"o0":-2,"o1":-3,"o2":3}}libfyaml
{"again":{"o0":-2},"base":{"o9":-2},"o":[{"o0":-2},{"o1":-3},{"o2":3},{"\u003c\u003c":{"o9":-2}}]}
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 | 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.