sha256 abe188184b80bf4e4305098e3423b5228f6c797bd4c7eb233b3fb22da14008e1
%TAG !x! tag:yaml.org,2002:
---
{'o': !x!omap ['o0': 3, 'o1': -1, 'o2': -4], ! 'p':!pairs ['p0': 1, 'p0': 2]} # c1
| grammar | valid, vouched for up to parse |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml
{"o":{"o0":3,"o1":-1,"o2":-4},"p":[{"p0":1},{"p0":2}]}libfyaml yaml.v3
{"o":[{"o0":3},{"o1":-1},{"o2":-4}],"p":[{"p0":1},{"p0":2}]}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | json-key-properties-adjacent-value: the parser rejects a quoted key with node properties in a flow mapping when its value follows the ':' with no space: "{!!str "" :x}", "{! 'p':x}" and "{? !!str " ":9}" are rejected, where c-flow-json-node takes the properties and c-ns-flow-map-adjacent-value the value; "{"" :x}" and "{!!str "": x}" are accepted | |
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | json-key-properties-adjacent-value: the reference parser rejects a quoted key with node properties in a flow mapping when its value follows the ':' with no space: "{!!str "" :x}", "{! 'p':x}" and "{? !!str " ":9}" are rejected, where c-flow-json-node takes the properties and c-ns-flow-map-adjacent-value the value; "{"" :x}" and "{!!str "": x}" are accepted | Error: parse: Parser finished before end of input |
| yaml.v3 | accepted accept | not scored | same | ||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.