sha256 cf1897f3e070b215ba7a4ba986e218cf0f979dcef9afada0845d254750d9f0f5
---
&a2
!!str '&a': True # c1
!!str '&a': # c2
&a1 <<: !!map # c3
'merged0': 0 # c4
True: # c5
| 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 | break/crlf encoding/byte-order-mark node/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single value/bool value/int value/mapping value/merge-key value/non-string-key value/null |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml perlref yamlstar
accept
libfyaml
{"\u0026a":{"\u003c\u003c":{"merged0":0},"true":null}}yamlstar
{"\u0026a":{"merged0":0,"true":null}}
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 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 | [4:1] mapping key "&a" already defined at [3:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.