shape/key/the same key quoted and plain

sha256 57a08db39a865e73819a4152fc172d0d7f1d6f9a6f63deebf54eb2348829a51e

Document

"a": 1
a: 2

Corpus

grammarvalid, vouched for up to construct
key/duplicate-after-resolutionreject from compose on, 3.2.1.1: keys are equal when they resolve to the same node, however they are written
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml perlref yamlstar

accept

value

libfyaml yamlstar

{"a":2}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar accepted, against the rules accept not scored n/i key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written
yaml.v3 rejected, settled refuse by the loader not scored refused key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written yaml.v3: yaml: unmarshal errors:
go-yaml rejected, settled refuse by the loader not scored refused key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written [2:1] mapping key "a" already defined at [1:1]

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.