generated/936

sha256 021bfa79e0212201f5e2f4b0f350ada5229409796782baec1c1abb87d1829357

Document

%TAG !x! tag:yaml.org,2002:
---
# c1
&a4 <<: # c2
  # c3
  'merged0': 3 # c4
# c5
'0': &a1 # c6
  # c7
  - # c8
    # c9
    - !x!float .inf # c10
  # c11
  - # c12
    # c13
    ' both ': -1 # c14
  # c15
  - # c16
  # c17
  - false # c18
# c19
!foo '5.  .xQA 3': .nan # c20
# c21
"\_\a\"'Ѓ,九\ \\Ͷ&": !x!null &a2 # c22
# c23
&a3 "🌮\n>\"Ⱥ丷\0": .inf # c24

Corpus

grammarvalid, vouched for up to construct
json/not-representableopen from construct on: each parser's stance decides
representation/float-non-finiteopen from construct on: each parser's stance decides
featuresnode/anchor node/tag-handle node/tag-local presentation/comment-above presentation/comment-inline presentation/document-marker presentation/escape-named presentation/plain presentation/quoted-double presentation/quoted-single presentation/tag-before-anchor presentation/tag-directive value/bool value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/null value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml yamlstar

refuse by the loader

libfyaml perlref yaml.v3

accept

value

libfyaml yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: !foo
yaml.v3 accepted accept not scored different
document 0

written

" \a\"'Ѓ,九 \\Ͷ&": null
? "\U0001F32E\n>\"Ⱥ丷\0"
: .inf
"0":
    - - .inf
    - ' both ': -1
    - null
    - false
5.  .xQA 3: .nan
merged0: 3

read back

map[string]interface {}{"0":[]interface {}{[]interface {}{+Inf}, map[string]interface {}{" both ":-1}, interface {}(nil), false}, "5.  .xQA 3":NaN, "merged0":3, "\ue052\u00a0\a\"'Ѓ,九 \\Ͷ&":interface {}(nil), "🌮\n>\"Ⱥ\ue0a0丷\ue019\x00":+Inf}
go-yaml rejected, explained refuse by the loader not scored refused json-cannot-write: codec.ToJSON rejects a value JSON cannot hold: .inf, .nan, a collection as a key; the corpus tags some of these documents json/not-representable and leaves others untagged [12:16] JSON has no number for .inf

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.