sha256 69f4c809fa81ec30a6846a1fa7836b3855a700167035ce6dbdcb821fec912003
---
# c1
o: # c2
!<tag:yaml.org,2002:omap>
# c3
- # c4
# c5
o0: 0o2 # c6
# c7
- # c8
# c9
<<: {o9: 0o7} # c10
# c11
- # c12
# c13
o1: -9 # c14
# c15
- # c16
# c17
o2: -4 # c18
# c19
p: # c20
!<tag:yaml.org,2002:pairs>
# c21
- # c22
# c23
p0: 0o1 # c24
# c25
- # c26
# c27
p0: 0o2 # c28
# c29
s: # c30
!<tag:yaml.org,2002:set>
# c31
s0: null # c32
# c33
s1: null # c34
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | break/crlf node/tag-verbatim presentation/comment-above presentation/comment-inline presentation/document-marker presentation/flow-collection presentation/number-octal presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (yaml-1.2-core) | {"o":{"o0":2,"\u003c\u003c":{"o9":7},"o1":-9,"o2":-4},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}} |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml
{"o":{"\u003c\u003c":{"o9":7},"o0":2,"o1":-9,"o2":-4},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}libfyaml
{"o":[{"o0":2},{"\u003c\u003c":{"o9":7}},{"o1":-9},{"o2":-4}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}yaml.v3
{"o":[{"o0":2},{"o9":7},{"o1":-9},{"o2":-4}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null}}yamlstar
{"o":[{"o0":"0o2"},{"o9":"0o7"},{"o1":-9},{"o2":-4}],"p":[{"p0":"0o1"},{"p0":"0o2"}],"s":{"s0":null,"s1":null}}
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: 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.