sha256 0a19987fe6eafd37bd646bcf72da8eac3350c3106275f43e47c528f725f077df
---
!
# c1
-
!<tag:yaml.org,2002:map> &a2
# c2
<<:
&a1
# c3
-
# c4
'é': 4
# c5
-
# c6
'é': -4
# c7
'é': !<tag:yaml.org,2002:float> .nan
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| json/not-representable | open from construct on: each parser's stance decides |
| representation/float-non-finite | open from construct on: each parser's stance decides |
| features | encoding/byte-order-mark node/anchor node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/document-marker presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml perlref yaml.v3 yamlstar
accept
libfyaml yaml.v3 yamlstar
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 | accepted accept | not scored | same | ||
| go-yaml | rejected, explained refuse by the loader | not scored | refused | 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 | [18:40] JSON has no number for .nan |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.