sha256 f7f2203f41e6d452d8ce48e78dead54ec50e25f6278acd404e54adfc15f8ba43
---
!!map
o: # c1
!!omap &m3
- # c2
o0: 0 # c3
- # c4
o1: 7 # c5
- # c6
o2: -1 # c7
again: *m3 # c8
?
- o # c9
: dup # c10
?
- o # c11
: dup2 # c12
| 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/plain presentation/property-line presentation/tag-before-anchor 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
{"[\"o\"]":"dup2","again":[{"o0":0},{"o1":7},{"o2":-1}],"o":[{"o0":0},{"o1":7},{"o2":-1}]}
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 | [13:3] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.