sha256 0542819f963c65efd5e780a7a9e3a14cec5302d763b6cc1fa0532c6313e06c97
%TAG !e! tag:yaml.org,2002:
---
# c1
"base": &m4
# c2
"o9": -5
# c3
!e!str "o": !e!omap &m3
# c4
-
# c5
<<:
# c6
"o9": 7
# c7
-
# c8
"o0": 0
# c9
-
# c10
"o8": *m4
# c11
"again": *m3
# c12
"base": |5-
dup
| 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-handle presentation/block-indicator presentation/block-literal presentation/chomp-padded presentation/comment-above presentation/document-marker presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml perlref yamlstar
accept
libfyaml
{"again":{"o9":7},"base":"dup","o":[{"\u003c\u003c":{"o9":7}},{"o0":0},{"o8":{"o9":-5}}]}yamlstar
{"again":[{"o9":7},{"o0":0},{"o8":{"o9":-5}}],"base":"dup","o":[{"o9":7},{"o0":0},{"o8":{"o9":-5}}]}
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 | [26:1] mapping key "base" already defined at [4:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.