sha256 6a7222135fcecb0ca03c6ae4b3eea31b96344edc91cfb76cdcf2026114cdfa2b
false: &a1 0.0: *a1 !foo '0b1010': *a1
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-local presentation/plain presentation/quoted-single value/mapping value/non-string-key |
| meaning (yaml-1.2-core) | {"false":{"0.0":0,"0b1010":0}} |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml libfyaml
{"false":{"0.0":0,"0b1010":0}}yaml.v3
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | rejected, explained refuse by the loader | rejected, explained | 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" value: 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 | accepted accept | different, explained | differentdocument 0written false:
0: 0
"0b1010": 0
read back map[interface {}]interface {}{false:map[interface {}]interface {}{"0b1010":0, 0:0}} |
value: json-cannot-write: yaml.v3 decodes a mapping with a key that is not a string into a map[any]any, which encoding/json cannot write, so the runner has no value for the document: "-0.0: true" | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.