go-yaml: rejected, explained

json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged

A departure of kind position in the stance file of go-yaml. It covers 1 cases.

casetagscorpusperlreflibfyamlyamlstaryaml.v3go-yaml
shape/key/an explicit key whose own key is explicit key/not-a-string accept acceptedacceptedaccepted
value different, tagged
rejected, explainedrejected, explained

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