sha256 b8d28934c55a43f160012bff3956d958267025b4697080928b603cd1761be767
k: &a n *a : 1 n: 2
| grammar | valid, vouched for up to construct |
| anchor/alias-as-key | accept from compose on, 7.1: an alias is a node, and a node may be a mapping key |
| key/duplicate-after-resolution | reject from compose on, 3.2.1.1: keys are equal when they resolve to the same node, however they are written |
| features | none |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml perlref yaml.v3 yamlstar
accept
libfyaml yaml.v3 yamlstar
{"k":"n","n":2}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | accepted, against the rules accept | not scored | n/i | key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written | |
| yaml.v3 | accepted, against the rules accept | not scored | same | key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written | |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written | [3:1] mapping key "n" already defined at [2:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.