sha256 00f2c70d530d86f31a3029138c20f48f2984631073d7d9e766cad8c5e6b00816
%TAG !n-1! tag:yaml.org,2002:
---
base: &m1 # c1
b0: 0x7 # c2
item: !n-1!map # c3
<<: *m1 # c4
d0: 0x7 # c5
d1: !n-1!int -3 # c6
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/number-hex presentation/plain presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":7},"item":{"\u003c\u003c":{"b0":7},"d0":7,"d1":-3}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml libfyaml
{"base":{"b0":7},"item":{"\u003c\u003c":{"b0":7},"d0":7,"d1":-3}}yaml.v3
{"base":{"b0":7},"item":{"b0":7,"d0":7,"d1":-3}}yamlstar
{"base":{"b0":"0x7"},"item":{"b0":"0x7","d0":"0x7","d1":-3}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | accepted accept | different, explained | n/i | value: int-non-decimal-as-string: the loader leaves an integer written 0x or 0o a string, where the core schema reads 0x1A as 26 and 0o17 as 15 | |
| yaml.v3 | accepted accept | different, explained | same | value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.