sha256 878ec159e077c1226b0c424dbac735e8b62526e008a8d48b3c65c1a4dea6c012
1: x "1": y
| grammar | valid, vouched for up to construct |
| key/distinct-after-resolution | accept from compose on, 3.2.1.1: keys resolving to different nodes are different keys, however alike they look |
| features | none |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the loader
libfyaml perlref yamlstar
accept
libfyaml yamlstar
{"1":"y"}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected refuse by the loader | not scored | refused | yaml.v3: yaml: unmarshal errors: | |
| go-yaml | rejected, explained refuse by the loader | not scored | refused | json-member-collision: codec.ToJSON writes each key as a JSON member name and rejects two distinct keys that write the same name, such as 1 and "1" | [2:1] two keys write the JSON member "1", first defined at [1:1] |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.