sha256 ad0fe8475c9e686466c9a767b35e7622143b444ea64225001a15b2b74ca3b961
---
'base': &m4 # c1
'o9': -2 # c2
'o': &m3 !!omap # c3
- # c4
'o0': -2 # c5
- # c6
'o1': +0 # c7
- # c8
'o2': +0 # c9
- # c10
'o8': *m4 # c11
'again': *m3 # c12
'p': !!pairs # c13
- # c14
'p0': +1 # c15
- # c16
'p0': +2 # c17
?
- 'base' # c18
: 'dup' # c19
?
- 'base' # c20
: 'dup2' # c21
| 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/alias node/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/number-signed presentation/plain presentation/quoted-single value/int value/mapping value/non-string-key value/sequence 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","again":[{"o0":-2},{"o1":0},{"o2":0},{"o8":{"o9":-2}}],"base":{"o9":-2},"o":[{"o0":-2},{"o1":0},{"o2":0},{"o8":{"o9":-2}}],"p":[{"p0":1},{"p0":2}]}
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 | [20:6] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.