sha256 4017239116cdc7c12e5898278ff2db671eb1c0cc99888190a5e5fba53fcd1e0d
%YAML 1.1
---
# c1
"base": &m1
# c2
"b0": 4
# c3
"b1": -9
# c4
"item": !<!foo>
# c5
<<: !<tag:yaml.org,2002:map> {"c0": -8, "c1": -1}
# c6
?
# c7
- "base"
: >-
dup
# c8
?
# c9
- "base"
: >-
dup2
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| key/duplicate | reject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node |
| features | encoding/byte-order-mark node/anchor node/tag-verbatim presentation/block-folded presentation/chomp-padded presentation/comment-above presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yamlstar
{"[\"base\"]":"dup2","base":{"b0":4,"b1":-9},"item":{"c0":-8,"c1":-1}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'sequence' | |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | yaml.v3: yaml: unmarshal errors: |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | [16:5] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.