sha256 a7192ff4bffc4ed128aadf693a29cffe2f319fbd06e0932af8f76820ccdb7659
%YAML 1.2
---
! {o: &m3 !<tag:yaml.org,2002:omap> [o0: 2, o1: -2], again: *m3, p: !<tag:yaml.org,2002:pairs> [p0: 1, p0: 2], [o]: dup, [o]: 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/cr encoding/byte-order-mark node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/document-marker presentation/flow-collection presentation/flow-pair presentation/plain presentation/yaml-directive value/int value/mapping value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref yamlstar
accept
yaml.v3
refuse by the parser
yamlstar
{"[\"o\"]":"dup2","again":[{"o0":2},{"o1":-2}],"o":[{"o0":2},{"o1":-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 parser | 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: found incompatible YAML document |
| 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 | [3:112] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.