sha256 d9c6a51e451ba8235e4423be07f6d840afa666d2f75c604ece647e84bcba123f
---
# c1
!foo "base": &m1 {"b0": -2, "b1": 0x3, "b2": 0x3}
# c2
"item": {<<: *m1, !foo "d0" :-3, ! "d1": 0x0}
| grammar | valid, vouched for up to parse |
| encoding/bom | open from parse on: each parser's stance decides |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml libfyaml
{"base":{"b0":-2,"b1":3,"b2":3},"item":{"\u003c\u003c":{"b0":-2,"b1":3,"b2":3},"d0":-3,"d1":0}}yaml.v3
{"base":{"b0":-2,"b1":3,"b2":3},"item":{"b0":-2,"b1":3,"b2":3,"d0":-3,"d1":0}}
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 | differentdocument 0written base:
b0: -2
b1: 3
b2: 3
item:
b0: -2
b1: 3
b2: 3
d0: -3
d1: 0
read back {"base":{"b0":-2,"b1":3,"b2":3},"item":{"b0":-2,"b1":3,"b2":3,"d0":-3,"d1":0}} |
||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.