sha256 5bb484a0c5342def705da0eac91c3d7f063092753d383cc3afd8606a2492c387
? ! "\x62\x61\x73\x65"
:
&m4
? "\x6F\x39"
: 0
? "\x6F"
:
!<tag:yaml.org,2002:omap>
-
? "\x6F\x30"
: -7
-
? <<
: *m4
? "\x70"
:
!<tag:yaml.org,2002:pairs>
-
? "\x70\x30"
: 1
-
? "\x70\x30"
: 2
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/escape-hex presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"o9":0},"o":{"o0":-7,"\u003c\u003c":{"o9":0}},"p":[{"p0":1},{"p0":2}]} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"base":{"o9":0},"o":{"\u003c\u003c":{"o9":0},"o0":-7},"p":[{"p0":1},{"p0":2}]}libfyaml
{"base":{"o9":0},"o":[{"o0":-7},{"\u003c\u003c":{"o9":0}}],"p":[{"p0":1},{"p0":2}]}yaml.v3
{"base":{"o9":0},"o":[{"o0":-7},{"o9":0}],"p":[{"p0":1},{"p0":2}]}yamlstar
{"111":[{"11148":-7},{"11157":0}],"112":[{"11248":1},{"11248":2}],"9897115101":{"11157":0}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | different, explained | n/i | value: ordered-map-as-sequence: the Python binding has no ordered map, and returns !!omap as a sequence of one-pair mappings | |
| yamlstar | accepted accept | different, explained | n/i | value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597" | |
| 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.