sha256 84000fe6f01a865ece3ec2c6081093826d6ed543e70c179e6e1761cac7b352de
---
'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': 'dup' # c18
| 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/number-signed presentation/plain presentation/quoted-single value/int value/mapping value/sequence value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml perlref yamlstar
accept
libfyaml
{"again":{"o0":-2},"base":"dup","o":[{"o0":-2},{"o1":0},{"o2":0},{"o8":{"o9":-2}}],"p":[{"p0":1},{"p0":2}]}yamlstar
{"again":[{"o0":-2},{"o1":0},{"o2":0},{"o8":{"o9":-2}}],"base":"dup","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 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 | [19:1] mapping key "base" already defined at [2:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.