sha256 016c1719ef7d7abddda7d1e0b8918c109bf2b44fade127c1767ed3ef85ef755c
%TAG !TAG2! tag:yaml.org,2002:
---
!foo {'5EOI p1-W': !TAG2!int -902, '`a': .inf, ~: !TAG2!int -13}
| grammar | valid, vouched for up to construct |
| 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 | break/cr node/tag-handle node/tag-local presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-single presentation/tag-directive value/float value/float-special value/int value/mapping value/non-string-key |
| 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 | [3:42] JSON has no number for .inf |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.