sha256 0898113ccec5a2ab4d419383e5aec6aa7a3639747335e3183bba477778dd05d5
!!str base: &m1 {b0: 2, b1: 7}
item: {<<: !!seq [{c0: -2, c1: 0}, *m1], d0: 0, !foo d1: 1, !foo b0: 99}
---
base: &m1 {b0: 8}
!!str item: {&k1 <<: &m2 {c0: -3, c1: -5}}
!foo again: *m2
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-local node/tag-shorthand presentation/document-marker presentation/flow-collection presentation/multi-document presentation/plain value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (none stated) | |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml libfyaml
{"base":{"b0":2,"b1":7},"item":{"\u003c\u003c":[{"c0":-2,"c1":0},{"b0":2,"b1":7}],"b0":99,"d0":0,"d1":1}}
{"again":{"c0":-3,"c1":-5},"base":{"b0":8},"item":{"\u003c\u003c":{"c0":-3,"c1":-5}}}yaml.v3
{"base":{"b0":2,"b1":7},"item":{"b0":99,"b1":7,"c0":-2,"c1":0,"d0":0,"d1":1}}
{"again":{"c0":-3,"c1":-5},"base":{"b0":8},"item":{"c0":-3,"c1":-5}}
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 | 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 | accepted accept | not scored | differentdocument 0written base:
b0: 2
b1: 7
item:
b0: 99
b1: 7
c0: -2
c1: 0
d0: 0
d1: 1
read back {"base":{"b0":2,"b1":7},"item":{"b0":99,"b1":7,"c0":-2,"c1":0,"d0":0,"d1":1}} |
||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.