sha256 1bcf4c8f173fae4d00ea7e922669a78d1e9421810729e2fc7f5f6bfd14fa02e8
---
!!float .nan # c1
---
{&a1 " z": true} # c2
---
! &a2 {!foo "": !!int 0x4144e67ca246827acb, "0b1010": &a1 .nan} # c3
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/anchor node/tag-local node/tag-non-specific node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/multi-document presentation/number-hex presentation/plain presentation/quoted-double presentation/tag-before-anchor value/big-int value/bool value/float value/float-special value/mapping value/non-string-key |
| meaning (none stated) | |
go-yaml perlref
accept
libfyaml
accept, then the loader refuses past parse
yaml.v3 yamlstar
refuse by the loader
go-yaml
{" z":true}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | ValueError: Failed to parse YAML/JSON | |
| yamlstar | rejected, explained refuse by the loader | not scored | n/i | tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" | Error: Unknown tag: !foo |
| yaml.v3 | rejected refuse by the loader | not scored | refused | yaml.v3: yaml: cannot decode !!str `0x4144e67ca246827acb` as a !!int | |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.