sha256 efc850e309e24cf76d2fe9c9d227f42a18878c9bc81941b9475520081e9d3ec4
---
? 'base'
:
&m4
? 'o9'
: -2
? ! 'o'
:
!<tag:yaml.org,2002:omap> &m3
-
? <<
: *m4
-
? 'o0'
: -1
-
? 'o1'
: 1
-
? 'o8'
: *m4
? 'again'
: *m3
?
- 'base'
: 'dup'
?
- 'base'
: 'dup2'
| 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-non-specific node/tag-verbatim presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor 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
accept, then the loader refuses past parse
perlref yamlstar
accept
yamlstar
{"[\"base\"]":"dup2","again":[{"o9":-2},{"o0":-1},{"o1":1},{"o8":{"o9":-2}}],"base":{"o9":-2},"o":[{"o9":-2},{"o0":-1},{"o1":1},{"o8":{"o9":-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 | [25:7] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.