generated/680/a duplicate entry appended

sha256 1d47d6976e81299611a6422cb2c6e4dd23c83c3bacc910e50c036e3dd2fcde9a

Document

---
!foo
# c1
"rqS": ! "a #b" # c2
# c3
"yes": "" # c4
# c5
"rqS": "dup" # c6

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
key/duplicatereject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node
featuresencoding/byte-order-mark node/tag-local node/tag-non-specific presentation/comment-above presentation/comment-inline presentation/document-marker presentation/quoted-double value/mapping value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the loader

libfyaml perlref yamlstar

accept

value

libfyaml yamlstar

{"rqS":"dup","yes":""}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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 [8:1] mapping key "rqS" already defined at [4:1]

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