sha256 b80aacc680c7b7484d2669116b45db503614ed4621b664762a9c4bff7f8ad1df
? !<tag:yaml.org,2002:str> 'o'
:
!<tag:yaml.org,2002:omap>
- {? 'o0': -1}
- {? 'o1': -4}
- {? 'o2': -6}
| grammar | valid, vouched for up to construct |
| representation/ordered-map | open from construct on: each parser's stance decides |
| features | node/tag-verbatim presentation/explicit-key presentation/flow-collection presentation/plain presentation/property-line presentation/quoted-single presentation/tab-separation value/int value/mapping value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"o":{"o0":-1,"o1":-4,"o2":-6}} |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml
{"o":{"o0":-1,"o1":-4,"o2":-6}}libfyaml yamlstar
{"o":[{"o0":-1},{"o1":-4},{"o2":-6}]}
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: ordered-map-as-sequence: the loader has no ordered map, and builds !!omap as a sequence of one-pair mappings | |
| yaml.v3 | rejected, explained refuse by the parser | rejected, explained | refused | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document |
yaml.v3: yaml: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.