sha256 302adbe3e1ad34330a190cde7af85dafd69bd2ac44ae6e961830cb8937e6adcd
%TAG !n-1! tag:yaml.org,2002:
---
!n-1!pairs ["", [null, False, {? ".0": -2.929409550462124015221819120584774726901162475181}, !n-1!str "a #b"], .inf, 4.0] # c1
| grammar | valid, vouched for up to construct |
| json/not-representable | open from construct on: each parser's stance decides |
| representation/float-inexact | open from construct on: each parser's stance decides |
| representation/float-non-finite | open from construct on: each parser's stance decides |
| features | break/crlf node/tag-handle presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/plain presentation/quoted-double presentation/tag-directive value/bool value/float value/float-special value/mapping value/null value/sequence value/string |
| 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 | differentdocument 0written - "" - - null - false - ".0": -2.929409550462124 - 'a #b' - .inf - 4 read back []interface {}{"", []interface {}{interface {}(nil), false, map[string]interface {}{".0":-2.929409550462124}, "a #b"}, +Inf, 4} |
||
| 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 | [3:112] JSON has no number for .inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.